Rabu, 08 Agustus 2012

[ExcelVBA] Swap Active Workbooks

 

Hi

I am working on a macro to copy data from one spreadsheet to another. All file names are variable, but the structure of the data is not.

My goal is to have the macro run and simply jump back and forth between the two files to process the data. These will be the only workbooks opened.

Is there a line of code to swap focus between active workbooks (almost a relative reference) without using a filename?

Thanks
David

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar