I have a basic spreadsheet designed for work overtime and would like to insert a function that automatically on opening the file loads to todays date.
I have posted a screen print.
Thanks in anticipation.
I have a basic spreadsheet designed for work overtime and would like to insert a function that automatically on opening the file loads to todays date.
I have posted a screen print.
Thanks in anticipation.
Try this macro - it selects the cell with todays date in it when the workbook is opened
'These instructions pre typed & are worded to cater for the novice programmer
'To install macro to correct location
'Copy this macro
'GoTo Excel
'Open VB Editor by pressing Alt + F11
'Just below the menus & toolbars on the left you should see Project - VbaProject window
'In this window you will see ThisWorkbook
'double click on ThisWorkbook - opens ThisWorkbook module sheet
'Paste macro code into big window on right
![]()
Please Login or Register to view this content.
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
Thanks a lot, that worked fine. Cheers
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks