Advertisement

12.09.2004 at 06:56AM PST, ID: 21236404
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Large Excel file - how to reduce the size?

Asked by smeden in Microsoft Excel Spreadsheet Software

Tags: , , , ,

I have an Excel file with UsedRange = A1:CH102. The saved size is 4151 kB. I have found a way to reduce the size:

Option Base 1

Sub ReduceSize()
  Dim lAntR As Long
  Dim iAntK As Integer
  Dim aR() As Single
  Dim aK() As Single
  Dim n As Integer
  Dim sFil1 As String
  Dim sFil2 As String
  Dim sKat As String
  Dim sArk As String
 
  sFil1 = ActiveWorkbook.Name
  sKat = ActiveWorkbook.Path
  sArk = ActiveSheet.Name
 
  lAntR = Cells.Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
  iAntK = Cells.Find(What:="*", SearchOrder:=xlByColumns, SearchDirection:=xlPrevious).Column
 
  ReDim aR(lAntR)
  ReDim aK(iAntK)
  For n = 1 To lAntR
    aR(n) = Rows(n).RowHeight
  Next n
  For n = 1 To iAntK
    aK(n) = Columns(n).ColumnWidth
  Next n
 
  Application.CutCopyMode = False
  Range(Cells(1, 1), Cells(lAntR, iAntK)).Copy
  Workbooks.Add
  sFil2 = ActiveWorkbook.Name
  ActiveSheet.Name = sArk
  ActiveSheet.Paste
  Application.CutCopyMode = False
 
  For n = 1 To lAntR
    Rows(n).RowHeight = aR(n)
  Next n
  For n = 1 To iAntK
    Columns(n).ColumnWidth = aK(n)
  Next n
 
  Workbooks(sFil1).Close savechanges:=False
  Application.DisplayAlerts = False
  Workbooks(sFil2).SaveAs sKat & "\" & sFil1
  Application.DisplayAlerts = True
End Sub

But still the size is about 1400 kB.
Do anybody know what was occupying space outside the UsedRange?
Do anybody know what kind of format or content or anything else which takes much space? Is there a way to analyse the size of each cell or element in the sheet?

Start Free Trial
[+][-]12.09.2004 at 07:01AM PST, ID: 12783819

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.09.2004 at 07:21AM PST, ID: 12784074

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.09.2004 at 07:32AM PST, ID: 12784193

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 14-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.09.2004 at 07:38AM PST, ID: 12784250

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 14-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.09.2004 at 10:27AM PST, ID: 12786018

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 14-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.09.2004 at 10:30AM PST, ID: 12786033

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 14-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.09.2004 at 11:20AM PST, ID: 12786464

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2004 at 12:21AM PST, ID: 12790524

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2004 at 03:31AM PST, ID: 12791280

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2004 at 04:23AM PST, ID: 12791531

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2004 at 07:30AM PST, ID: 12793053

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: excel, file, size, reduce, large
Sign Up Now!
Solution Provided By: XL-Dennis
Participating Experts: 7
Solution Grade: B
 
 
[+][-]04.20.2005 at 07:38AM PDT, ID: 13824882

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2005 at 07:53AM PDT, ID: 13825129

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2005 at 08:16AM PDT, ID: 13825463

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2005 at 07:14AM PDT, ID: 14010508

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2005 at 07:36AM PDT, ID: 14010689

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 14-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.16.2005 at 09:34PM PDT, ID: 14016090

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43