+ Reply to Thread
Results 1 to 9 of 9

Copy Value From Destination

  1. #1
    Registered User
    Join Date
    06-08-2011
    Location
    Houston
    MS-Off Ver
    2007
    Posts
    4

    Copy Value From Destination

    Hello, I'd like to copy the value of the destination vs. the formula in column A2:A. See my code below.
    Please Login or Register  to view this content.
    Last edited by romperstomper; 06-08-2011 at 11:13 AM. Reason: add tags

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Copy Value From Destination

    Please use code tags when posting code to the forum per the forum rules.

    I also don't really follow what you mean.

    Dom
    Last edited by Domski; 06-08-2011 at 10:22 AM.
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    06-08-2011
    Location
    Houston
    MS-Off Ver
    2007
    Posts
    4

    Re: Copy Value From Destination

    The current code copys over the cell as is, I'd like to copy or paste special values the value only in the destination column. I have a formula in the copy from range that I'd like to pull values over for.

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Copy Value From Destination

    Something like:
    Please Login or Register  to view this content.
    not clear if you needed the same for the other copy?

    Note: I have added code tags to your first post - please learn to use them in future when posting code.
    Everyone who confuses correlation and causation ends up dead.

  5. #5
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Copy Value From Destination

    Like this:

    Please Login or Register  to view this content.

    Dom
    Last edited by Domski; 06-08-2011 at 11:46 AM.

  6. #6
    Registered User
    Join Date
    06-08-2011
    Location
    Houston
    MS-Off Ver
    2007
    Posts
    4

    Re: Copy Value From Destination

    I get ' Run-time error '1004' PasteSpecial method of Range class failed'

  7. #7
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Copy Value From Destination

    On which? Do you have any merged cells?

  8. #8
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Copy Value From Destination

    If it was mine you mean there was a small but significant error which I've now corrected.

    Dom

  9. #9
    Registered User
    Join Date
    06-08-2011
    Location
    Houston
    MS-Off Ver
    2007
    Posts
    4

    Re: Copy Value From Destination

    That worked, Thanks for your help.

+ 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