LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
mp mp is offline
external usenet poster
 
Posts: 70
Default Export Sheet Values to new workbook

I have a workbook with many sheets
One sheet is called "overview"
This has summary of various other sheet's info
thus it refers to other sheets' cells
I want to do following with a vba command
save overview sheet as separate workbook with one sheet only
replace functions and references in each cell with current value(and format)
(that way even though original workbook is updated over time
I'll have an archive of the overview at various dates in past)

any tips on an easy way to do that appreciated.
so far options I can think of:
1)
save original workbook so changes aren't lost
change the formulas and references on the original "overview" sheet,
file saveas new name
delete all sheets but "overview"
hopefully that will leave original workbook intact (though it will no longer
be open or active)

2)
copy "overview" sheet in original workbook to a new temp sheet
replace formulas with values in new sheet
somehow export new sheet to new workbook (i'll have to research how to do
that)
delete new sheet from existing workbook
that way I can still be in original workbook(if that's important which may
not be a big deal)

3)
i'm sure there's a better way but drawing a blank, any ideas?

something like:
Sub ExportSheetValues(SourceSheetname as String, newBookname as String)
....implementation here....
End Sub

thanks
mark


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export specific cell values to an external workbook Razorboy Excel Programming 1 October 28th 08 02:08 AM
How to export a linked cell sheet to get only values. CAPTGNVR[_2_] Excel Programming 3 April 30th 08 11:42 AM
Export Specific Sheet in Listbox to New Workbook Carlee Excel Programming 1 April 13th 07 07:56 PM
Export selected Sheet in a new workbook with old workbook name! gr8guy Excel Programming 5 September 11th 04 01:53 AM
Export just one sheet from a workbook Grek[_3_] Excel Programming 2 May 9th 04 01:52 PM


All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"