mahmed1
Well-known Member
- Joined
- Mar 28, 2009
- Messages
- 2,266
- Office Version
- 365
- 2016
- Platform
- Windows
Hi all,
i am having a problem where i have multiple macros (subs) and i am declaring the same sheet and setting it multiple times
i.e dim ws as worksheet and set ws = sheets("sheet1")
now i make the dim global by putting it right at the top
is there a way i can do that with set part so i dont have to keep setting it to the same sheet over and over again?
i am having a problem where i have multiple macros (subs) and i am declaring the same sheet and setting it multiple times
i.e dim ws as worksheet and set ws = sheets("sheet1")
now i make the dim global by putting it right at the top
is there a way i can do that with set part so i dont have to keep setting it to the same sheet over and over again?