|
-
Oct 1st, 2007, 11:07 AM
#1
Thread Starter
Frenzied Member
Large Excel Files
Hi guys!
I have a shared workbook up to 10-20 users. This is the first time we encountered this problem. Basically the excel file size range from 2-4 MB. But yesterday it bloated up to 150 MB - 350 MB.
OMG!!!
How can I shrink the excel file back to normal. I've tried un sharing the workbook and it didn't help.
Thanks for any input!
-
Oct 1st, 2007, 11:19 AM
#2
Re: Large Excel Files
 Originally Posted by zynder
... But yesterday it bloated up to 150 MB - 350 MB.
How did that happen? I would Try to find out the cause first by talking to your users.
-
Oct 1st, 2007, 11:21 AM
#3
Re: Large Excel Files
I had that happen to me once, and I never did figure out why.
I made a copy of the spreadsheet, then went into the originial, deleted EVERYTHING out of it and saved it.
The file size didn't change a single KB
I wound up opening a blank worksheet, and copying what I had over to it. That was the only way I got the size back down to normal.
I even posted this very same question here on the Forums. Nothing anyone suggested helped or fixed it.
-
Oct 1st, 2007, 11:23 AM
#4
Re: Large Excel Files
Here is the thread that I created on this issue back in 2005. Read some of the responses.
-
Oct 1st, 2007, 11:32 AM
#5
Thread Starter
Frenzied Member
Re: Large Excel Files
Thanks for the quick replies.
Excel is weird. Anyway, just for additional info, im using office 2003 running on XP pro under 2003 domain.
The excel file is shared. Anyway, I can only get the size back if i copy and paste it to another instance of excel and then delete the large excel file but what the heck is making it large.
-
Oct 1st, 2007, 12:07 PM
#6
Re: Large Excel Files
I think the "weird" behavior can somehow be explained (I guess)...
If someone mistakenly (by pressing ctrl+a and then ctrl+c) copied 10K rows from one spreadsheet to another and then by realizing that that was a mistake can do either:
- hide "bad" spreadsheet so nobody would "see" it
- or re-paste only necessary rows by overwiting all of those 10Ks and I think Excel may remember all deleted rows since it's [basically] single file based db (just like ms access but without the db cleanup utility).
I'm guessing here of course as I haven't seen any documentation (if such even exists).
-
Oct 1st, 2007, 12:23 PM
#7
Re: Large Excel Files
 Originally Posted by zynder
The excel file is shared. Anyway, I can only get the size back if i copy and paste it to another instance of excel and then delete the large excel file but what the heck is making it large.
Yep, as I said, that is what I had to do, and, two years later, I still don't know what happened to the spreadsheet file.
I was also using Excel 2003 BTW.
-
Oct 1st, 2007, 03:00 PM
#8
Thread Starter
Frenzied Member
Re: Large Excel Files
I read your thread and still their suggestions dont seem to work. I even downloaded the add-in and still don't have any luck. The empty excel file is 13MB OMG...
-
Oct 1st, 2007, 03:02 PM
#9
Thread Starter
Frenzied Member
Re: Large Excel Files
 Originally Posted by RhinoBull
I think the "weird" behavior can somehow be explained (I guess)...
If someone mistakenly (by pressing ctrl+a and then ctrl+c) copied 10K rows from one spreadsheet to another and then by realizing that that was a mistake can do either:
- hide "bad" spreadsheet so nobody would "see" it
- or re-paste only necessary rows by overwiting all of those 10Ks and I think Excel may remember all deleted rows since it's [basically] single file based db (just like ms access but without the db cleanup utility).
I'm guessing here of course as I haven't seen any documentation (if such even exists).
It could be but I deleted the excess rows and column but the size is still big. The file is basically empty. Any ideas?
-
Dec 19th, 2007, 08:18 PM
#10
Fanatic Member
Re: Large Excel Files
I just had this happen. I was working on an Excel file with 11 sheets and the size was right around 1MB. I saved it and it was suddenly 10MB!
I don't recall doing anything just prior to the save that would increase the size. As an experiment, I successively deleted 1 sheet at a time and saved the file. By the time I got down to the last sheet, it was still 2.6MB!
I'm about ready to give up and reluctantly copy sheet by sheet over to a new file. This is very annoying!
-
Dec 20th, 2007, 09:41 PM
#11
Fanatic Member
Re: Large Excel Files
I have an Excel file that is 480KB in size. All I do is open it and save, then the size is 3.5MB! I did nothing else. There aren't any event macros, nothing. All I did was open, then save. Increases 7x just by saving. What could cause this? It is insane!
Last edited by VBAhack; Dec 20th, 2007 at 09:56 PM.
-
Dec 30th, 2007, 09:09 AM
#12
Re: Large Excel Files
I had a similar problem where I had a 80KB workbook grow to 120MB because I cleared all borders on EVERY cell. The following fixed it (I call this before closing the workbook).
Code:
Private Sub bfrCLS()
Dim sh As Worksheet, cSht As Worksheet
Dim lRW As Long, lCL As Long
Dim rng As Range
Set cSht = ActiveSheet
Application.ScreenUpdating = False
For Each sh In Sheets
sh.Select
Set rng = ActiveSheet.UsedRange
lRW = rng.Rows.Count + (rng.Row - 1)
lCL = rng.Columns.Count + (rng.Column - 1)
Next
cSht.Select
Application.ScreenUpdating = True
End Sub
-
Dec 30th, 2007, 03:29 PM
#13
Re: Large Excel Files
It may be that a user copy/pasted a picture or ole object to the sheet and not deleted or had an error deleting so its left in the book.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 31st, 2007, 07:17 AM
#14
Hyperactive Member
Re: Large Excel Files
Have you tried using a hex viewer to see the data that is there?
I rememeber using some from the days when DOS was king, but cannot recall
seeing any for some years now..
Signature Under Construction 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|