-
WSfarside
AskWoody Loungerhi,
I use this one to give an accurate age. (in the example A6 is the birthdate)=DATEDIF(A6,NOW(),”y”) & “y, “& DATEDIF(A6,NOW(),”ym”)&”m, “& DATEDIF(A6,NOW(),”md”) & “d”
This displays as: 43y, 0m, 16d
HTH
Regards
Farside -
WSfarside
AskWoody LoungerAndrew,
That works just the way I wanted. Thank you very much. I never even came close with my attempts!The only snagette, which took a few minutes to figure out, was that I only had one sheet and so the event would not work on opening, although it was perfect with a press of F5. I now have two sheets in the workbook:-))). Perfect!
Once again, thank you.
Regards,
Farside -
WSfarside
AskWoody LoungerLegareColeman,
I don’t think the 3% will stretch that far, so how about a Crimbo card and a big mention for you and Woody’s at work -
WSfarside
AskWoody LoungerDear All,
Just to let you know; I was in to work early and put the code in and it works fine. The wb opens at the month tab and the cell C8 is selected (that’s the Boss’s part of the sheet by the way!)Of course, with all the planning ahead these days, the monthly sheets for 2002 are a different matter! I think a new wb is the way ahead.:-(Regards,
Farside -
WSfarside
AskWoody LoungerDear gwhitfield and Legare Coleman,
How large a slap on the back would you like, and for how long?
You are formally endowed with the title ‘Supreme Beings’.
GW, the ‘now’ change was the canine g******s. Thank you. Now I can go to bed.All the best,
Farside. -
WSfarside
AskWoody LoungerDear L G and gwhit, thanks for the quick response.(apologies for the abb.)
I have this in ThisWorkbook – (‘workbook’ and ‘open’)Private Sub workbook_activate()
Range(“c8”).Activate
End Sub
‘for the cell they want, which is fine.
‘and your thoughts (below) for the correct tab, or current month.Private Sub Workbook_Open()
Worksheets(Format(Today(), “mmm”) & ” 01″).Activate
End Sub
The snag is that it comes up with a compile error:
‘Sub or Function not defined.’, with the word ‘Today’ highlighted.
Any thoughts?; bearing in mind I am capable of mistakes.Thank you.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Where’s the cache today?
by
Up2you2
2 hours, 37 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
5 hours, 39 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
6 hours ago -
Blocking Search (on task bar) from going to web
by
HenryW
10 hours, 41 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
15 hours, 48 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
15 hours, 54 minutes ago -
regarding april update and may update
by
heybengbeng
17 hours, 24 minutes ago -
MS Passkey
by
pmruzicka
44 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 1 hour ago -
*Some settings are managed by your organization
by
rlowe44
11 hours, 47 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
23 hours, 58 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 19 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 4 hours ago -
AI slop
by
Susan Bradley
18 hours, 46 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 5 hours ago -
Two blank icons
by
CR2
17 hours, 41 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 14 hours ago -
End of 10
by
Alex5723
2 days, 17 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 15 hours ago -
test post
by
gtd12345
2 days, 23 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 13 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
16 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days, 3 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 15 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 19 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 19 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 7 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 21 hours ago -
Are manuals extinct?
by
Susan Bradley
21 hours, 53 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 6 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.