Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I pick which extra session to run in?

Status
Not open for further replies.

worz

Programmer
Jun 27, 2003
8
GB
Hey guys,

I often have more than 1 extra session running, what I would like to be able to do is..
When I run a certain VBA code I would like it to look at what extra sessions are running and pick "session2" for example.

Is this possible? if so how please.

Regards

Worz
 



Loop thru the Sessions collection.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
I use the following to go between sessions.

AppActivate "SESSION2 - EXTRA! X-treme"

'Do Stuff here.

AppActivate "SESSION3 - EXTRA! X-treme"

'Do more Stuff here.

AppActivate "SESSION1 - EXTRA! X-treme"

'Do more Stuff here.
 
Thanks for that!
I have it sorted now.

Worz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top