+ Reply to Thread
Results 1 to 4 of 4

paste values only not formulas

  1. #1
    Registered User
    Join Date
    05-16-2012
    Location
    New Jersey
    MS-Off Ver
    2010
    Posts
    4

    paste values only not formulas

    I added a couple of columns to spreadsheet that reference other workbooks. I need this macro to paste special values

    Sub CONECTIV22()
    '
    ' CONECTIV1 Macro
    ' Macro recorded 6/13/2005 by tweaver
    '

    '

    Range("A694:y725").Select
    Selection.Copy
    Workbooks.Open Filename:="k:\EXCEL\WORK FILE\2013\may\ESCHEDULEDATA.xls"
    Range("A1").Select
    ActiveSheet.Paste
    ActiveWorkbook.SaveAs Filename:="k:\EXCEL\WORK FILE\2013\may\" & Format([G2], "mmddyy") & ".xls"
    Application.CutCopyMode = False
    Application.Dialogs(xlDialogSendMail).Show
    ActiveWorkbook.Close
    End Sub

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: paste values only not formulas

    one of the quickest ways to figure this out is to turn on the record macro and do a copy and paste special on something/anything, then turn the recorder off and look at the code....HTH
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: paste values only not formulas

    also, the Forum Moderators really appreciate it when you put code tags around your code....and it makes it easier for people helping to paste it into VBA and try and help....

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: paste values only not formulas

    Please Login or Register  to view this content.
    INTO
    Please Login or Register  to view this content.

+ 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