+ Reply to Thread
Results 1 to 3 of 3

VBA Copy Sheet and and Different Cell to each copied sheet

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    14

    VBA Copy Sheet and and Different Cell to each copied sheet

    I am very new to VBA programing and I would like some help. I want to copy a sheet x number of times and copy a different cell to each copied sheet. I have a code that will copy the sheet but I need help writing some code to copy a cell to each sheet. Let me try to explain a little better.

    Lets say I have something in cells A1:A5. I would want to make 5 copies of sheet2 and copy A1 to the first sheet, copy A2 to the second sheet, A3 to the third sheet and so forth.

    See my code for copying the sheets below.

    Please Login or Register  to view this content.
    Thank you

  2. #2
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: VBA Copy Sheet and and Different Cell to each copied sheet

    Hi,

    like that?
    Please Login or Register  to view this content.
    Regards

    Theo

  3. #3
    Registered User
    Join Date
    03-02-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: VBA Copy Sheet and and Different Cell to each copied sheet

    Thank you Theo, But it didn't seem to work. The code you gave still copies the sheet but it doesn't copy a cell to each page. I have text in cells A1, A2, A3, A4, and A5. I want to make 5 copies of sheet2 and copy A1 to the first copy, A2 to the second copy, A3 to the third and so on. Do you have any ideas?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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