Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default End of run 'clean up" . . .

I'll try to keep it simple and short. But I've found that if you don't give
enough info, your question can be misunderstrood. (Yeah, I'm a
trainer/teacher! LOL)

I have a 50 sheet workbook. All pages are linkied together and calculate
off each other.

When data is "dumped" into the program (only once per worksheet!) it all
goes to one master sheet, and is then "sent" or pulled here and there to all
of the pages, as needed.

To allow for larger dumps, I made all the sheets 400 rows long. I seriously
doubt I'll ever need more than 300 rows.

Once the data dumps, and the operator has a chance to work with the workbook
a little, maybe add some data at the end, etc. (into existing rows) what I'd
like to be able to do is clean up the program.

The master sheet has about 50 columns being used. That will always be the
same. But the number of rows used will vary every time the workbook is used.
Everyt run will be different.

Same for all the other sheets. Column use is always the same., But no way
to know how many rows will be used. So I can't just record a macro, and
clean it up once.

If I were in Eutopia, I'd have a button for the operator to click when the
program was done, and all unused rows would be deleted.

Reason . . . there is a formula in every single cell, in all 50 pages,
except the master sheet that only does a little calculating.

When the report is finished, there is a ton of memory being used up by these
1000's of unused cells, x 50 pages, all containing a formulae.

Plus . . . when it's finished, we email several copies of the file. To
Engineering departments, and to our customers.

I figure, even though every cell does have "something" in it, I could
somehow figure out a way to have somekind of search function look for
"something" other than a formula in a row, and have that trigger a function
in VB of something.

Is that enough "somethings" for you! LOL :)

We can do it by hand, but it takes a long time to clean up 50 sheets by
hand. And this report will be used numerous times every day. The data is
from another machine that runs a program, then opens Excel, and the workbook
pulls the data out of that machine's program before closing it. This program
runs numerous times a day. Plus we have 4, and soon to have 5 machines
dumping data throughout the day. Each time one of them runs a program, it
creates a new report using this Excel workbook.

Anyone have an extra ticket to Eutopia?

:) Wayne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default End of run 'clean up" . . .

Wayne,
You didn't mention what you had for breakfast.<g
Debra Dalgleish has code here to cleanup worksheets...
http://www.contextures.on.ca/xlfaqApp.html#Unused
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Wayne Knazek"

wrote in message
I'll try to keep it simple and short. But I've found that if you don't give
enough info, your question can be misunderstrood. (Yeah, I'm a
trainer/teacher! LOL)

I have a 50 sheet workbook. All pages are linkied together and calculate
off each other.

When data is "dumped" into the program (only once per worksheet!) it all
goes to one master sheet, and is then "sent" or pulled here and there to all
of the pages, as needed.

To allow for larger dumps, I made all the sheets 400 rows long. I seriously
doubt I'll ever need more than 300 rows.

Once the data dumps, and the operator has a chance to work with the workbook
a little, maybe add some data at the end, etc. (into existing rows) what I'd
like to be able to do is clean up the program.

The master sheet has about 50 columns being used. That will always be the
same. But the number of rows used will vary every time the workbook is used.
Everyt run will be different.

Same for all the other sheets. Column use is always the same., But no way
to know how many rows will be used. So I can't just record a macro, and
clean it up once.

If I were in Eutopia, I'd have a button for the operator to click when the
program was done, and all unused rows would be deleted.

Reason . . . there is a formula in every single cell, in all 50 pages,
except the master sheet that only does a little calculating.

When the report is finished, there is a ton of memory being used up by these
1000's of unused cells, x 50 pages, all containing a formulae.

Plus . . . when it's finished, we email several copies of the file. To
Engineering departments, and to our customers.

I figure, even though every cell does have "something" in it, I could
somehow figure out a way to have somekind of search function look for
"something" other than a formula in a row, and have that trigger a function
in VB of something.

Is that enough "somethings" for you! LOL :)

We can do it by hand, but it takes a long time to clean up 50 sheets by
hand. And this report will be used numerous times every day. The data is
from another machine that runs a program, then opens Excel, and the workbook
pulls the data out of that machine's program before closing it. This program
runs numerous times a day. Plus we have 4, and soon to have 5 machines
dumping data throughout the day. Each time one of them runs a program, it
creates a new report using this Excel workbook.

Anyone have an extra ticket to Eutopia?

:) Wayne
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default End of run 'clean up" . . .

:)~ LOL

Thanks! :)

"Jim Cone" wrote:

Wayne,
You didn't mention what you had for breakfast.<g
Debra Dalgleish has code here to cleanup worksheets...
http://www.contextures.on.ca/xlfaqApp.html#Unused
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Wayne Knazek"

wrote in message
I'll try to keep it simple and short. But I've found that if you don't give
enough info, your question can be misunderstrood. (Yeah, I'm a
trainer/teacher! LOL)

I have a 50 sheet workbook. All pages are linkied together and calculate
off each other.

When data is "dumped" into the program (only once per worksheet!) it all
goes to one master sheet, and is then "sent" or pulled here and there to all
of the pages, as needed.

To allow for larger dumps, I made all the sheets 400 rows long. I seriously
doubt I'll ever need more than 300 rows.

Once the data dumps, and the operator has a chance to work with the workbook
a little, maybe add some data at the end, etc. (into existing rows) what I'd
like to be able to do is clean up the program.

The master sheet has about 50 columns being used. That will always be the
same. But the number of rows used will vary every time the workbook is used.
Everyt run will be different.

Same for all the other sheets. Column use is always the same., But no way
to know how many rows will be used. So I can't just record a macro, and
clean it up once.

If I were in Eutopia, I'd have a button for the operator to click when the
program was done, and all unused rows would be deleted.

Reason . . . there is a formula in every single cell, in all 50 pages,
except the master sheet that only does a little calculating.

When the report is finished, there is a ton of memory being used up by these
1000's of unused cells, x 50 pages, all containing a formulae.

Plus . . . when it's finished, we email several copies of the file. To
Engineering departments, and to our customers.

I figure, even though every cell does have "something" in it, I could
somehow figure out a way to have somekind of search function look for
"something" other than a formula in a row, and have that trigger a function
in VB of something.

Is that enough "somethings" for you! LOL :)

We can do it by hand, but it takes a long time to clean up 50 sheets by
hand. And this report will be used numerous times every day. The data is
from another machine that runs a program, then opens Excel, and the workbook
pulls the data out of that machine's program before closing it. This program
runs numerous times a day. Plus we have 4, and soon to have 5 machines
dumping data throughout the day. Each time one of them runs a program, it
creates a new report using this Excel workbook.

Anyone have an extra ticket to Eutopia?

:) Wayne

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
clean characters bookworm Excel Discussion (Misc queries) 1 June 26th 05 04:31 PM
clean duplicates in list frank101 Excel Discussion (Misc queries) 1 June 15th 05 09:19 PM
Clean does not remove hidden formatting on a number MickF Excel Worksheet Functions 2 May 19th 05 07:18 PM
CLEAN Formula Kristen Excel Worksheet Functions 1 April 12th 05 11:48 PM
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM


All times are GMT +1. The time now is 05:26 AM.

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"