Hey all,
I was wondering if you could possibly help me with this..
I'm wanting to display a Popup message if the workbook is opened between the hours of 8:30am and 9:30am
How do I go about doing this?
Many thanks
Hey all,
I was wondering if you could possibly help me with this..
I'm wanting to display a Popup message if the workbook is opened between the hours of 8:30am and 9:30am
How do I go about doing this?
Many thanks
Last edited by Lifeless; 01-21-2016 at 04:09 PM.
Hey there,
Yes that is possible.
Check attached.
To run a macro you need to follow these steps-
Save and close all open workbooks.
Open a new workbook, and then start the Visual Basic Editor (press ALT+F11).
Press CTRL+R to switch to the Project Explorer window.
In the Project Explorer window, right-click the ThisWorkbook object, and click View Code on the shortcut menu.
In the module, type the following code:
Hope this helps!!![]()
Please Login or Register to view this content.
Have a Great Day!!
Happy to Help
How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html
"I don't get things easily, so please be precise and elaborate"
If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.
Sourabh
Brilliant thanks +rep mate
Sorry to be a pain, how would I edit this to display the same pop-up between those times however this time when the user attempts to "save" the file between those times.
EDIT Never mind, I managed to figure it out. Thanks for your help!
Last edited by Lifeless; 01-21-2016 at 04:08 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks