BrianExcel
Well-known Member
- Joined
- Apr 21, 2010
- Messages
- 975
Can you reference a workbook using the code
for when you want to apply the code to all worksheets in a workbook? For example, when you have multiple lines of code you want to run for one userform or one sheet, it would be With Userform1 or With Sheets("SHEETNAMEHERE")
Can you do that with a workbook? Is there an easier way?
Code:
With Workbook
for when you want to apply the code to all worksheets in a workbook? For example, when you have multiple lines of code you want to run for one userform or one sheet, it would be With Userform1 or With Sheets("SHEETNAMEHERE")
Can you do that with a workbook? Is there an easier way?