View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
aiyer[_12_] aiyer[_12_] is offline
external usenet poster
 
Posts: 1
Default Global variable declaration!

Hello all!

A quick question.
I declared several global variables and was trying to use them i
different macros.For soem reason they are'nt recognized by the macros
The following were the ones I declared as global variables.

Dim store As Integer
Dim loct As Integer
Dim res As Integer
Dim ng As Integer

Should I declare the above in a seperate macro or something and mak
that macro available to the rest of the macros? Is that possible? Ho
do I do this? I might need to use the variable 'store' in a macro sa
'calculate'.

I would appreciate your help guys.
Thanks.

Arun...
Vtec corp

--
Message posted from http://www.ExcelForum.com