Declare Worksheet name over multiple modules

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Is it possible to declare the worksheets name once and use it over multiple
modules.

ie
Dim wksCurrent as worksheet
Set wksCurrent = worksheets("Test")

Once the above is done I want to be able to use the wksCurrent in all of the
modules I have available.

Any ideas would be great.

Thanks
 
Hi Nick
Can you please elaberate on Normal Module???

Do you mean attached to a sheet or an actual module

If an actual module what do I put up the top of the module

Thanks
 
Yes, insert a module and declare the top.
Not on a WS or class module

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top