Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make Duplicate Copy with Values instead of Formulas

Status
Not open for further replies.

caper11752

IS-IT--Management
May 6, 2008
26
CA
Hello,

I have a massive workbook that is updated daily using Access to export new data. I was wondering how I could go about making an exact copy of my original, except I'd like to replace the formulas with the cell values in the new copy. Then I could distribute the copy to the parties that use this report. Any suggestions?
 



In your COPY of the workbook
Code:
dim ws as worksheet

for each ws in activeworkbook.worksheets
  with ws
    .copy
    .[A1].pastespecial xlpastevalues
  end with
next


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top