LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global variable dhstein Excel Discussion (Misc queries) 2 October 30th 09 01:03 PM
Adding a variable into a range declaration Malvaro Excel Worksheet Functions 2 June 24th 08 06:28 PM
VBA - variable declaration Jeff Excel Discussion (Misc queries) 3 January 9th 08 12:45 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
Variable Declaration?? Tom Ogilvy Excel Programming 1 August 8th 03 06:45 PM


All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"