Results 1 to 2 of 2

Loop with Paste Special Values, Formats but no Borders

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Hong Kong
    MS-Off Ver
    Office 365 PC Version
    Posts
    216

    Loop with Paste Special Values, Formats but no Borders

    Dear all,

    I am running a loop which copies a row of cells and then pastes them as values, formats and no borders.

    The bordes keep appearing and the VBA code am using is as follows:
    Range("RLV_COPY").Copy
    
    Range([RLV_DESTINATION]).Select
    
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
    
    Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
    
    Selection.PasteSpecial Paste:=xlPasteAllExceptBorders, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
    Anyone can shed some light?

    Thanks John
    Last edited by davesexcel; 11-04-2012 at 09:49 AM. Reason: code tags required, please read the Foum Rules

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