Both the Sheets("SheetName").Activate and the
ActiveWorkbook.Worksheets("Sep 05").Activate
methods work.
Direct access via a method is always better than enumerating an object. I have put in a request for the book that was suggested earlier that lays out the Excel Object Model -- that will...
Desired behaviour: Activate a particular sheet in a workbook based on its name.
I've been using the search feature of this forum and found this code snippet.
Sub test()
For Each sht In ActiveWorkbook.Worksheets
"Your code"
Next sht
End Sub
So, to accomplish the above desired behaviour...
I want to thank all three of you for your help. And, not to be so much of a bug here on the forum, do any of you know of a good reference that lays out all of the excel object model objects with methods and properties easily identified?
I don't mind studying and it appears I'll be doing a lot...
How do you change the tab name (I would think it would be called a caption or text) on the .activesheet object?
I've looked for an hour now up on MSDN and the only thing I have found is some articles referencing the tab object, but I'm not sure that is the object I want to use.
I have a master...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.