Results 1 to 2 of 2

copying and pasting a dynamic range

Threaded View

  1. #1
    Registered User
    Join Date
    01-06-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    19

    Smile copying and pasting a dynamic range

    Hi, I have successfully copied and pasted a range into another sheet, however, the range is ever-changing as I am using the RAND function in the range. But I have only pasted the values, and of course, these do not change when the range changes.

    Is there a way to code this up so the range i pasted changes when the original range changes i.e. when pressing F9?

    Here is my code so far below

     WSrandomNumbers.Range("newRandno").Copy
    WSinterestRateSim.Range("A8").PasteSpecial Paste:=xlPasteValues, Operation:=xlNone

    Thanks for your help and time
    Last edited by mashoutposse; 04-02-2010 at 08:25 PM.

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