Results 1 to 3 of 3

Changing Paste Special to Values and Format

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Changing Paste Special to Values and Format

    In the code below I would like to change the statement to paste as values and format. When the macro runs now it pastes as values but not the format. Can anyone help?

    Private Sub RunIt()
    
    If Code > 0 Then
    sheet1.Range("I14", "IV18").Select
    Selection.Copy
    Worksheets("Results").Activate
    ActiveSheet.Range("I" & Code * 5 + 9).Select
    End If
    
    ActiveSheet.PasteSpecial Format:=3, Link:=1, DisplayAsIcon:=False
    Last edited by Leith Ross; 03-18-2010 at 04:57 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