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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening a file using file name

Status
Not open for further replies.

jluft

Technical User
May 4, 2004
74
US
assume that i have two spreadsheets open, A and B. I have the full file path name defined for both file a and file B

my operations begin in file A, but at a point in the code, i would like to activate file b. how, using the filename to toggle between the two sheets, can i do this?
thanks very much
 
How are A and B open ?
Have a look at the Windows and/or Workbooks properties of the Excel.Application object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top