Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Getting back to file A from file B


How do I store the name of a currently active file [one of several]
before activating another file containing macros and some data stored in
its cells, so that I can return to the first file for entering more
data?


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 373
Default Getting back to file A from file B

This seems a simple matter. Maybe I'm not understanding your
situation.
Dim FirstBook as string
FirstBook=activeworkbook.name
'your stuff here
workbooks(FirstBook).activate

James

On Jun 7, 10:39?am, Gordon Humphreys
wrote:
How do I store the name of a currently active file [one of several]
before activating another file containing macros and some data stored in
its cells, so that I can return to the first file for entering more
data?

*** Sent via Developersdexhttp://www.developersdex.com***



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
Replaced a file but need the old file back Dave Excel Worksheet Functions 7 January 11th 08 10:29 PM
back up excell file Richard de Excel Discussion (Misc queries) 1 September 10th 06 03:27 PM
I saved file A over file B. Can I get file B back? Lynn Excel Discussion (Misc queries) 2 May 12th 06 11:24 AM
Back up file Shirley Excel Discussion (Misc queries) 1 September 21st 05 05:54 AM
To get client data from a saved file back to the master file Darmac54 Excel Discussion (Misc queries) 0 August 18th 05 03:29 AM


All times are GMT +1. The time now is 11:36 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"