+ Reply to Thread
Results 1 to 2 of 2

Column PasteValues to a DYNAMIC DESTINATION

  1. #1
    Registered User
    Join Date
    08-18-2021
    Location
    Bristol
    MS-Off Ver
    365
    Posts
    2

    Column PasteValues to a DYNAMIC DESTINATION

    As I go through the data validation, I wish to paste column C:D into A:B on sheet "1".

    Next data I wish to do the same, but this time sheet "2"


    Sub Range_Copy_Examples()

    Worksheets("1").Columns("A:B").Value = Worksheets("Model").Columns("C:D").Value

    End Sub


    However, I have to iterate Worksheet "1" and run macro for 1,2,3,4,5,./


    Something like?

    Worksheets((Model(A1)).Columns("A:B").Value = Worksheets("Model").Columns("C:D").Value

  2. #2
    Registered User
    Join Date
    08-18-2021
    Location
    Bristol
    MS-Off Ver
    365
    Posts
    2

    Re: Column PasteValues to a DYNAMIC DESTINATION

    Model Sheet & 5 target sheets. (6 in total)

    There are 5 data validations on model sheet, with 5 different sets of data pulled through.

    How do I change the above VBA code, to spew the data into the adjusted validation data. ATM "1" is static, I wish to have 1,2,3,4,5 all built into the code.

    Thanks again.

+ 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. AutoFill with dynamic destination
    By Yonch in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-22-2017, 09:14 AM
  2. [SOLVED] Dynamic AutoFill Destination Range
    By cesrua in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-18-2016, 03:33 PM
  3. Copy from static destination & paste to dynamic destination
    By Marbleking in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-31-2015, 09:31 AM
  4. How do i PasteValues instead of just Paste?
    By dandavis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2010, 06:22 AM
  5. PasteValues
    By blinks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2010, 06:15 AM
  6. Loop through all Sheets, PasteValues
    By roasty_1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-28-2008, 12:58 PM
  7. Dynamic # of Destination Cells
    By TJ in forum Excel General
    Replies: 2
    Last Post: 02-01-2006, 09:35 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