variable declaration for more than one worsheet

  • Thread starter Thread starter Alberto Ast
  • Start date Start date
A

Alberto Ast

How do I declare a variable so it will work on more than one worksheeet while
using macros among both worksheets.
 
From VBE menu 'Insert' a module and paste the below declaration..

Public strData As String

If this post helps click Yes
 

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