#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Global vars

Hi.

I have a global variable that holds the file name and path
of a database that i am retrieving data from to return to
excel.

However, without DIM'ing the variable again anywhere in
the modules associated with the spreadsheet. I keep
losing my global variable's value

Any ideas?

TIA

Nath
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Global vars

Make certain the the global varaible is declared in a regular module, not a
worksheet or a dialog's module.

Bob Flanagan
Macro Systems
Delaware, U.S. 302-234-9857
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Nath" wrote in message
...
Hi.

I have a global variable that holds the file name and path
of a database that i am retrieving data from to return to
excel.

However, without DIM'ing the variable again anywhere in
the modules associated with the spreadsheet. I keep
losing my global variable's value

Any ideas?

TIA

Nath



Reply
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 changes Eclaires Excel Worksheet Functions 2 March 17th 08 01:03 PM
Global Calculation ??? Cowtoon Excel Discussion (Misc queries) 4 October 20th 05 04:52 PM
Global Defaults Michelle - BR Setting up and Configuration of Excel 3 September 23rd 05 03:18 PM
global Macros GKW in GA Excel Discussion (Misc queries) 2 September 20th 05 04:42 AM
Global Macro Bo Rasmussen New Users to Excel 4 September 12th 05 03:48 PM


All times are GMT +1. The time now is 10:20 PM.

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"