Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Saving a work book as values and format only

workbook Hi all
I will be finishing a project Soon and I would like to save as Values and
Format only for the whole work book. This would allow me strip out all the
data on the original workbook in readyness to start my New project. Is this
possible?

thanks for Looking
Stew
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Saving a work book as values and format only

This macro should cause all cells values to become static.

Sub BecomeStatic()
For Each ws In ActiveWorkbook.Worksheets
On Error Resume Next
ws.UsedRange.Value = ws.UsedRange.Value
Next ws
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"stew" wrote:

workbook Hi all
I will be finishing a project Soon and I would like to save as Values and
Format only for the whole work book. This would allow me strip out all the
data on the original workbook in readyness to start my New project. Is this
possible?

thanks for Looking
Stew

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Saving a work book as values and format only

Would I place this macro in every worksheet?

Thanks for your help

Stew

"Luke M" wrote:

This macro should cause all cells values to become static.

Sub BecomeStatic()
For Each ws In ActiveWorkbook.Worksheets
On Error Resume Next
ws.UsedRange.Value = ws.UsedRange.Value
Next ws
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"stew" wrote:

workbook Hi all
I will be finishing a project Soon and I would like to save as Values and
Format only for the whole work book. This would allow me strip out all the
data on the original workbook in readyness to start my New project. Is this
possible?

thanks for Looking
Stew

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Saving a work book as values and format only

No, you can place it in a regular module. It is setup to look through every
ws on it's own.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"stew" wrote:

Would I place this macro in every worksheet?

Thanks for your help

Stew

"Luke M" wrote:

This macro should cause all cells values to become static.

Sub BecomeStatic()
For Each ws In ActiveWorkbook.Worksheets
On Error Resume Next
ws.UsedRange.Value = ws.UsedRange.Value
Next ws
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"stew" wrote:

workbook Hi all
I will be finishing a project Soon and I would like to save as Values and
Format only for the whole work book. This would allow me strip out all the
data on the original workbook in readyness to start my New project. Is this
possible?

thanks for Looking
Stew

Reply
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
Import only certain cell values into a new work book Jeremy Excel Discussion (Misc queries) 0 February 12th 08 08:23 PM
Hide the zero values in a work book Kamani Excel Worksheet Functions 2 November 15th 07 10:26 PM
loss of fidelity error when saving excel work book Demetri GOlfos Excel Discussion (Misc queries) 1 April 13th 07 02:03 AM
loss of fidelity error when saving excel work book Demetri GOlfos[_2_] Excel Worksheet Functions 0 April 12th 07 07:44 PM
my excel work book is NOT read onlyt says it is when saving to CD Soo Excel Discussion (Misc queries) 2 September 16th 05 05:29 PM


All times are GMT +1. The time now is 09:11 PM.

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

About Us

"It's about Microsoft Excel"