Results 1 to 5 of 5

Switching Between Open Workbooks In VBA

Threaded View

ajocius Switching Between Open... 12-15-2012, 02:38 PM
patel45 Re: Switching Between Open... 12-15-2012, 03:36 PM
ajocius Re: Switching Between Open... 12-15-2012, 04:08 PM
patel45 Re: Switching Between Open... 12-16-2012, 04:01 AM
HaHoBe Re: Switching Between Open... 12-16-2012, 05:14 AM
  1. #1
    Forum Contributor
    Join Date
    12-22-2004
    Location
    Kokomo, Indiana
    Posts
    236

    Question Switching Between Open Workbooks In VBA

    I have three workbooks named macroWorkbook, databaseFile and dataFile. All of my programming resides in macroWorkbook. The VBA stuff in macroWorkbook open the two other workbooks. The names of the other two files are databaseFile and dataFile have date suffixes affixed to keep weekly data from crossing. How do I programmatically switch between databaseFile and dataFile? Eventually I want to take the contents of sheet1 in dataFile and place it at the bottom of sheet3 which already has data.

    I thought about opening dataFile > copy the contents of from sheet1 > closing dataFile > open databaseFile > paste. This turns out to be more complicated and so I'm here looking for some assistance.

    I am running Excel 2010 on Windows XP.

    Tony
    Last edited by ajocius; 12-16-2012 at 09:50 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1