Excel VBA find newest worksheet based on date/time stamp
in worksheet name?
I have 4 worksheets (will have many more in the future) with the following
date/time stamps as part of the worksheet name:
INV2012_08_02_1018 AM
INV2012_09_17_2218 PM
INV2012_10_20_0618 AM
INV2012_10_23_0118 PM
How can I use VBA to search for and activate the newest
worksheet based on the date/time stamp in the worksheet name?
This is only for the worksheet names that start with "INV"
and have a date/time stamps in the worksheet name.
Correct answer: INV2012_10_23_0118 PM
Thank You, in advance.
Bookmarks