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: 6
Default Variable Scope Question

Hi,

I am working on an (excel based, VBA) application today that will be opening
multiple excel.application objects. This opening of multiple excel objects
is essential to the functionality of the application, as I will be execting
multiple adodb calls to a SQL server, and this is not possible from the same
excel instance.

What I want to accomplish is to have the worbooks opened in each of those
excel.application objects have access to a variable in the application
itself.

Do I need to declare such a type in its own class? I tried just declaring
it as public in the declarations section of a standard module in the
application.

Thanks in advance.

Ariel



 
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
question on scope of a global variable XL Programmer Excel Programming 0 January 23rd 08 12:47 AM
variable scope question in user-defined function Pertti Excel Programming 2 October 17th 06 07:11 PM
Question about variable scope RB Smissaert Excel Programming 0 March 2nd 05 01:15 PM
Variable scope question w/combo-box, 2ND try Tim Coddington Excel Programming 2 December 20th 03 04:07 AM
Variable scope question w/combo-box Tim Coddington Excel Programming 4 December 17th 03 02:38 AM


All times are GMT +1. The time now is 11:05 PM.

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

About Us

"It's about Microsoft Excel"