+ Reply to Thread
Results 1 to 4 of 4

Macro to Copy Worksheet, Remove Formulas and Data Validation

  1. #1
    Registered User
    Join Date
    07-26-2006
    MS-Off Ver
    Office 365
    Posts
    97

    Macro to Copy Worksheet, Remove Formulas and Data Validation

    Hello,
    I am working on a "master" workbook with multiple sheets that needs to be shared by numerous people. Specific sheets and only specific sheets need to be shared with an end user who does not need any formulas or links. (they need only the output).

    I have been trying to record a macro that will do the following (with little success)

    1.--Copy the active sheet
    2.--remove all links, formulas, data validations and conditional formats
    3.--Cut the new, clean sheet into another workbook (not a copy) for manual renaming and saving.

    These are the steps and order I am trying but can't quite seem to get it. Any feedback helps.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Macro to Copy Worksheet, Remove Formulas and Data Validation

    If the don't need to use the form but just look at it, you could always save it as a PDF file.,
    --------

  3. #3
    Registered User
    Join Date
    07-26-2006
    MS-Off Ver
    Office 365
    Posts
    97

    Re: Macro to Copy Worksheet, Remove Formulas and Data Validation

    That was my first thought too. Unfortunately, the end user wants it in Excel.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Macro to Copy Worksheet, Remove Formulas and Data Validation

    AFter you have copied the sheet add this to the code,

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    All the formulas will become values.

+ 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. Replies: 1
    Last Post: 01-03-2018, 02:10 PM
  2. [SOLVED] Copy formulas from the Source worksheet to the Target worksheet using a macro
    By Excel987 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2015, 04:03 PM
  3. Copy row of data, remove duplicates, paste into a different worksheet
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 02:19 PM
  4. [SOLVED] Macro to copy values, formats,hidden formulas and validation to another sheet - Help!
    By AnnieBrownTX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2012, 02:35 PM
  5. List Data Validation and Protected Worksheet - Cant copy
    By liam_bettinson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2012, 06:48 AM
  6. copy data (not formulas) to new worksheet
    By brent01 in forum Excel General
    Replies: 1
    Last Post: 07-16-2012, 01:22 AM
  7. [SOLVED] copy worksheet with formulas but not data
    By Candyk in forum Excel General
    Replies: 2
    Last Post: 10-19-2005, 10:05 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