#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default File Size Jump

I can't figure out why my Excel file size is jumping from 550kb to 35mb. I
am running some formulas to copy data, and some special links from other
pages, as well as scripts which hides rows... I tried deleting extra
unhidden rows, and got nothing. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default File Size Jump

After deleting the extra rows and columns you must SAVE the workbook to
effect changes in used range.

As far as the size jump..............change the macro code to copy data etc.
to a defined rather.

Sounds like you are copying to a greater range than you need.


Gord Dibben MS Excel MVP

On Fri, 22 Jan 2010 09:06:01 -0800, New2Macros
wrote:

I can't figure out why my Excel file size is jumping from 550kb to 35mb. I
am running some formulas to copy data, and some special links from other
pages, as well as scripts which hides rows... I tried deleting extra
unhidden rows, and got nothing. Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default File Size Jump

Should read defined range

On Fri, 22 Jan 2010 11:13:07 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

As far as the size jump..............change the macro code to copy data etc.
to a defined rather.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default File Size Jump

Still can't find it. I only have a string in Visual Basic - I tried to stay
away from macros. All that string is doing is cutting off rows based on a
certain cell's value.

Thanks


"Gord Dibben" wrote:

Should read defined range

On Fri, 22 Jan 2010 11:13:07 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

As far as the size jump..............change the macro code to copy data etc.
to a defined rather.


.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default File Size Jump

I have not yet seen confirmation that you saved the workbook after deleting
unused rows and columns on all worksheets.

I cannot see the "string in Visual Basic" so not easy to trouble-shoot that
aspect.


Gord

On Fri, 22 Jan 2010 12:12:07 -0800, New2Macros
wrote:

Still can't find it. I only have a string in Visual Basic - I tried to stay
away from macros. All that string is doing is cutting off rows based on a
certain cell's value.

Thanks


"Gord Dibben" wrote:

Should read defined range

On Fri, 22 Jan 2010 11:13:07 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

As far as the size jump..............change the macro code to copy data etc.
to a defined rather.


.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default File Size Jump

I have had to save it a lot and keep backups to fall back on if it suddenly
expands in size. I deleted rows and colums that were not being hidden by
Visual Basic. However, nothing has been changed in Visual Basic for a year,
and it has been working fine until now.

Here is the string I'm using to hide rows that are being unused:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$U$1" Then
Range("2:" & Rows.Count).EntireRow.Hidden = False
Range(CStr(3 + 2 * Range("U1").Value) & ":" & _
Rows.Count).EntireRow.Hidden = True
End If
End Sub


I just plug a number into cell U1, and it hides the correct cells.

Thanks



"Gord Dibben" wrote:

I have not yet seen confirmation that you saved the workbook after deleting
unused rows and columns on all worksheets.

I cannot see the "string in Visual Basic" so not easy to trouble-shoot that
aspect.


Gord

On Fri, 22 Jan 2010 12:12:07 -0800, New2Macros
wrote:

Still can't find it. I only have a string in Visual Basic - I tried to stay
away from macros. All that string is doing is cutting off rows based on a
certain cell's value.

Thanks


"Gord Dibben" wrote:

Should read defined range

On Fri, 22 Jan 2010 11:13:07 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

As far as the size jump..............change the macro code to copy data etc.
to a defined rather.

.


.

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
File Size With Macros Has Increased From Its Origina Size Fred Excel Discussion (Misc queries) 1 April 26th 08 12:24 AM
Size Jump Supe Excel Discussion (Misc queries) 2 December 13th 07 04:36 PM
Excel 2003 default file location always jump to .....\Proof Help Edmond Kong Excel Discussion (Misc queries) 0 November 19th 07 04:02 AM
Excel kept on asking to save file every time I jump from one sheet to another! [email protected] Excel Worksheet Functions 8 March 31st 06 03:37 AM
jump to hyperlink, extract value at specific destination in file Philip Excel Worksheet Functions 1 June 7th 05 10:37 AM


All times are GMT +1. The time now is 07:13 AM.

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"