Hi
I would like to update "Last Saving Date & Time " in my Excel template "Column - A1"
Can you help me to get this done?
Thanks
Regards
Jagan
Hi
I would like to update "Last Saving Date & Time " in my Excel template "Column - A1"
Can you help me to get this done?
Thanks
Regards
Jagan
Hi Jagan,
Welcome to the forum.
Try using below code:-
copy this code, go to your workbook, press Alt + F11, double click on the workbook (This workbook) and paste code on right window. Thanks.![]()
Please Login or Register to view this content.
Regards,
DILIPandey
<click on below 'star' if this helps>
DILIPandey, Excel rMVP
+919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com
Hi
Thanks for your immediate response.
Double click on which work book & where to past?
Okay Jagan.. let me try to describe :-
You must be having a excel workbook where you want the last save date & time to appear in a1, as thats the question you asked
lets call that workbook "007JamesBond.xlsx"
so.. consider 007JamesBond.xlsx as "your workbook" and follow below steps
Okay.. little more explanatorycopy this code, go to your workbook, press Alt + F11, double click on the workbook (This workbook) and paste code on right window
copy code provided by me in post #2
go to 007jamesbond.xlsx
press alt+ F11
You'll see one new window
left side of that window must be having a section "VBA Project(007JamesBond.xlsx"
Expand this section, if not already expanded
there you'll find "ThisWorkbook"
Double click on that
You'll find a refreshed blank (white) window on right side
paste this code there
done
Now try closing 007jamesbond.xlsx and you'll notice that current date and time gets printed in A1
cheers
Regards,
DILIPandey
<click on below 'star' if this helps>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks