+ Reply to Thread
Results 1 to 3 of 3

Transfer data to 3 worksheets

  1. #1
    Registered User
    Join Date
    01-09-2004
    Location
    Yorkshire
    Posts
    69

    Transfer data to 3 worksheets

    I want to transfer 5 cells of data to 3 worksheets, Justin gave me a VBA that fransfers data to 1 worksheet but I cant workout how to transfer to 3 worksheets, I have attached a sample that works in part.
    Attached Files Attached Files
    Last edited by Chris Watson; 05-02-2009 at 07:23 AM.

  2. #2
    Registered User
    Join Date
    04-21-2009
    Location
    Melbourne,Australia
    MS-Off Ver
    Excel 2003,2007
    Posts
    34

    Re: Transfer data to 3 worksheets

    Chris,

    I have uploaded a modified macro. I created a range name, dlSheetNames on the source data sheet. To paste to a particular sheet, VBA needs to know the sheet name. As long as you record the sheet names that you want to paste data to inside the dlSheetNames range name, the macro will now paste to multiple sheets.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-09-2004
    Location
    Yorkshire
    Posts
    69

    Solved

    Thanks again Justin its perfect. Im not expert with Excel but I get by but the VBA programming I find fasinating. Im determind to learn something about VBA so ive ordered a book of Amazon "Power Programming with VBA By: John Walkenbach" I have his Excel Bible which has helped me.

+ Reply to Thread

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