+ Reply to Thread
Results 1 to 3 of 3

Copying Cells with Values only

  1. #1
    Registered User
    Join Date
    07-13-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    8

    Copying Cells with Values only

    Hello,

    I am looking for a macro that will:
    1. Copy the range A1:H501 from SheetB
    2. Paste that range into SheetA starting at A7

    My issue:

    The range A1:H501 on SheetB has an “if” calculation in every cell designed to return blank cells when appropriate. I do NOT want those blank cells copied/pasted into Sheet B. I could just Paste Values, right? I thought so…but even though the pasted values cells LOOK blank, it pastes something onto SheetA that messes up the cells that calculate off of them. (I know this because when I “clear content” the calculation on SheetA works just fine).

    That all said: my objective is for the macro to look at SheetB A1:H501 and only COPY cells with values in them…and then do the paste into Sheet A.


    Thanks for any help. All my Google searching only returns "paste values" suggestions.
    Nick

  2. #2
    Forum Contributor
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    402

    Re: Copying Cells with Values only

    Attach a sample file

  3. #3
    Registered User
    Join Date
    07-13-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Copying Cells with Values only

    Quote Originally Posted by kishoremcp View Post
    Attach a sample file
    Hi, wish I could but it's a confidential document. I don't need a full solution engineered, just wondered if there is a simple way to "copy values"?

    Thanks,
    Nick

+ 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