Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default How to "freeze" all cells in Excel sheets?

Hi all,

I currently save copy of my Excel sheets every day, for historical
records.

However because some of the cells are connected to live data sources,
and other cells are linked to other time-varying sheets, the copying
of Excel sheets as record doesn't really work as it is supposed to.

The reason is that every time when you open the old record file,
things are changing and are no longer their original form.

Therefore, I could think of one way to remedy this: I should save a
"frozen" copy of the Excel sheets as snapshots and keep these
snapshots as historical records.

The easiest way is probably to "freeze" all cells, i.e. "copy and
paste special as values"... for all sheets everywhere...

How to do this programmatically? I hope I can do it thru Macro and
then then call the Macro from within my centralized automation
program, which is written in Matlab and/or Perl/ and/or Windows
Scripting, etc.

Thanks a lot!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 449
Default How to "freeze" all cells in Excel sheets?

Hi

Excel can do absolutely everything -except two things: History and multi
user environment. Don't try to fix that, you will not succeed. Use something
else if history or multiple users is what counts.

Best wishes Harald


"LunaMoon" wrote in message
...
Hi all,

I currently save copy of my Excel sheets every day, for historical
records.

However because some of the cells are connected to live data sources,
and other cells are linked to other time-varying sheets, the copying
of Excel sheets as record doesn't really work as it is supposed to.

The reason is that every time when you open the old record file,
things are changing and are no longer their original form.

Therefore, I could think of one way to remedy this: I should save a
"frozen" copy of the Excel sheets as snapshots and keep these
snapshots as historical records.

The easiest way is probably to "freeze" all cells, i.e. "copy and
paste special as values"... for all sheets everywhere...

How to do this programmatically? I hope I can do it thru Macro and
then then call the Macro from within my centralized automation
program, which is written in Matlab and/or Perl/ and/or Windows
Scripting, etc.

Thanks a lot!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default How to "freeze" all cells in Excel sheets?

On Sep 26, 4:25*pm, LunaMoon wrote:
Hi all,

I currently save copy of my Excel sheets every day, for historical
records.

However because some of the cells are connected to live data sources,
and other cells are linked to other time-varying sheets, the copying
of Excel sheets as record doesn't really work as it is supposed to.

The reason is that every time when you open the old record file,
things are changing and are no longer their original form.

Therefore, I could think of one way to remedy this: I should save a
"frozen" copy of the Excel sheets as snapshots and keep these
snapshots as historical records.

The easiest way is probably to "freeze" all cells, i.e. "copy and
paste special as values"... for all sheets everywhere...

How to do this programmatically? I hope I can do it thru Macro and
then then call the Macro from within my centralized automation
program, which is written in Matlab and/or Perl/ and/or Windows
Scripting, etc.

Thanks a lot!


Why not a before_save macro in the ThisWorkbook module something like
this.

for each ws in worksheets
ws.usedrange.value=ws.usedrange.value
next
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
"For each w in workbooks "can't find ".dat" open excel sheets, Ricky Excel Programming 1 October 23rd 09 06:00 AM
Whats wrong with this? MyWBAccRep.Sheets("Volumes").Cells.Find("latest").Copy.Offset(0, Simon[_2_] Excel Programming 2 August 11th 08 01:29 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
I want to lock row 1 in Excel. Why is "Freeze Panes" grayed out? Fran Z Excel Discussion (Misc queries) 2 January 15th 08 05:46 PM
freeze window creates multiple "views" suffixed with ":n" dgaex001 Excel Discussion (Misc queries) 5 March 22nd 06 05:28 PM


All times are GMT +1. The time now is 05:25 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"