Closed Thread
Results 1 to 3 of 3

Copying data form source workbook to multiple destinations

  1. #1
    Registered User
    Join Date
    06-03-2010
    Location
    Hertfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    51

    Copying data form source workbook to multiple destinations

    I have a macro in which I have a source workbook containing the macro, and data in a sheet called REF.
    The macro has created a series of destination workbooks (saved as CSV files but still open) each with one worksheet with the same name as the workbook eg dest1, dest2, dest3, etc.

    I'm planning on copying the data using an expression like:

    Please Login or Register  to view this content.
    rather than doings lots of activating and selecting, which I could probably work out by recording some macros. So far I've got:

    Please Login or Register  to view this content.
    that final expression will end up wrapped in various loops to define the a-c variables, but before I get to that I need to know how to define (Dim and Set) source, dest and outsheet (outsheet will also be varied to point to the output files).

    If someone could help with this bit I'd be grateful.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copying data form source workbook to multiple destinations

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    06-03-2010
    Location
    Hertfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: Copying data form source workbook to multiple destinations

    Not solved, but since no replies I'm looking at other ways of doing it (see more recent question posted).

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Filtering in another workbook, copying filtered data and pasting in source workbook
    By saadtariq in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2012, 12:55 PM
  2. [SOLVED] .Cell Value with Multiple destinations
    By BuzzOffSweetheart in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2012, 11:02 PM
  3. Copy, Paste multiple source ranges/destinations
    By JapanDave in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2011, 07:58 PM
  4. copying data from source workbook to target workbook by headers
    By tweety127 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2009, 11:35 PM
  5. Close the source workbook after copying
    By Simon-ch in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-19-2009, 03:11 AM

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