+ Reply to Thread
Results 1 to 2 of 2

Macro: Copy Active Sheet, Make Values Only, then Save Copy

  1. #1
    Registered User
    Join Date
    04-14-2014
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2019 (PC) Version 1808
    Posts
    46

    Macro: Copy Active Sheet, Make Values Only, then Save Copy

    Working on a spreadsheet I created but I struggle with the macros. Can someone please assist? I have a spreadsheet with formulas and want a macro that will select the active workbook only, make it Values Only for the active workbook, and then save the Values Only version in a different location.

    I need to change it so that:
    1) In only applies to the active workbook
    2) No changes are made to the active workbook, but:
    3) The values-only workbook is saved in another location automatically, the location will be hardcoded in the script.

    Thanks in advance!!

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Macro: Copy Active Sheet, Make Values Only, then Save Copy

    Maybe:

    Sub Brendan(): Dim wb As Workbook, ws As Worksheet, P As String, N As String
    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to copy a line to archive sheet and delete from active sheet
    By mmccra2858 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2015, 09:15 PM
  2. Macro to copy the active sheet to new workbook and rename
    By shansakhi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-06-2014, 01:27 AM
  3. Replies: 3
    Last Post: 09-08-2012, 07:52 PM
  4. Replies: 0
    Last Post: 04-28-2012, 06:06 PM
  5. Command button - to copy active sheet and not save current workbook
    By vjboaz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-22-2008, 05:23 PM
  6. [SOLVED] Save copy of active sheet - values and formats only
    By Lance Fairway in forum Excel General
    Replies: 1
    Last Post: 08-17-2006, 10:05 PM
  7. [SOLVED] [SOLVED] VB Method to copy and save only one sheet of the active workbook
    By Rock* in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2006, 08:35 PM

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