+ Reply to Thread
Results 1 to 2 of 2

Paste value except borders and formula

Hybrid View

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    Việt Nam
    MS-Off Ver
    Excel 2003
    Posts
    1

    Paste value except borders and formula

    Hi, i'm new here. I'm trying to copy data from a cell without borders and formula, just paste value and blank
    I know Paste:=xlAllExceptBorders option, but this option include cell's format.
    I try this:
    With Range("A2")
           .PasteSpecial xlAllExceptBorders
           .PasteSpecial xlPasteValues
    End With
    But it didn't work
    Any help would be appreciated. Thanks.
    Last edited by kumori; 03-06-2013 at 10:20 PM.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Paste value except borders and formula

    This should do it
        With Range("A2")
        .PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
            :=False, Transpose:=False
        End With
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

+ 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