User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 456,428 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,614 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 3781 | Replies: 1
Reply
Join Date: Jul 2004
Posts: 2
Reputation: WaltFales is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
WaltFales WaltFales is offline Offline
Newbie Poster

Accessing files that are not currently open and running VB macros in them?

  #1  
Jul 23rd, 2004
Greetings!
I currently have 5 very similar but seperate macros in 5 seperate .xls files. As one finishes I currently open the next .xls file and run that respective macro. And so on and so forth.

I am attempting to figure out how I can write code that will require me to only manually run the first macro to complete the first file and then somehow either access or open the next file and run the next macro in the series automatically. And so on and so forth.

To complicate matters slightly, each of the .xls files currently is refreshed by an external database query that is automatically executed when the file is first opened.

Any ideas?

Walt
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Adelaide, Australia
Posts: 191
Reputation: mnemtsas is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
mnemtsas's Avatar
mnemtsas mnemtsas is offline Offline
Junior Poster

Re: Accessing files that are not currently open and running VB macros in them?

  #2  
Jul 25th, 2004
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 1:22 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC