+ Reply to Thread
Results 1 to 5 of 5

copy range value x times in another sheet

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    uk
    MS-Off Ver
    Mac 2011
    Posts
    35

    copy range value x times in another sheet

    Hi all,

    Here is below a code that copy the desired source to destination. I would like to add a constant that will be used to copy the source x number of times.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,172

    Re: copy range value x times in another sheet

    Hi, nikenis,

    you should make Cells inside your Range to relate to the destination sheet as well with adding a dot before them.

    You would need to adjust your code to write cells to (maybe with End(xlUp).Row + 1):
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    03-28-2012
    Location
    uk
    MS-Off Ver
    Mac 2011
    Posts
    35

    Re: copy range value x times in another sheet

    Hi Holger,

    Thanks for this.
    I do not wish to copy the cycle down to rows but horizontally within the same row.

    Regards,
    Nikenis

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,172

    Re: copy range value x times in another sheet

    Hi, nikenis,

    by using another loop:

    Please Login or Register  to view this content.
    Ciao,
    Holger

  5. #5
    Registered User
    Join Date
    03-28-2012
    Location
    uk
    MS-Off Ver
    Mac 2011
    Posts
    35

    Re: copy range value x times in another sheet

    Hi Holger,

    Many Thanks.

    Regards,
    Nikenis

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to copy a cell range and paste to a new sheet 'n' times where 'n' defined by formula
    By staminaboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2013, 11:39 AM
  2. [SOLVED] Macro to copy/paste dynamic range x times into same sheet
    By BigAl_Qld in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2013, 03:48 AM
  3. [SOLVED] Copy and paste a range x many times
    By acsta14 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-20-2012, 07:15 AM
  4. Copy a Range multiple times
    By alocke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2011, 12:29 AM
  5. Copy range several times less first row
    By markos97 in forum Excel General
    Replies: 4
    Last Post: 07-28-2010, 08:54 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