Global variable

  • Thread starter Thread starter Jammie
  • Start date Start date
J

Jammie

I need to be able to assign a global variable that can easily be accessed
from anywhere with excel. How can I do this?

Jamie
 
Jamie,

Declare the variable as a Public variable, in a standard code
module, outside of and prior to any procedure.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
ok thanks for your help!

Chip Pearson said:
Jamie,

Declare the variable as a Public variable, in a standard code
module, outside of and prior to any procedure.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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