Excel file size

  • Thread starter Thread starter richard123
  • Start date Start date
R

richard123

Dave,

Thanks.

Unfortunatley I am saving in the correct format.
The really strange things is I open the file after the macro has save
it down, I then save it and it returns to the correct size.

Thanks
Richar
 
I've seen some posts that suggest that when strange things like this happen, it
maybe be because a workbook is corrupted.

If you create a small template workbook (from scratch) and run your code against
that, does the same thing happen?

And if not, I think I'd embellish the test and see if it occurs with a
completely rebuilt workbook.

(But it's a lot of work and it may not help. On the other hand, if your
workbook is corrupted, it may save you some blood, sweat and tears later when
things go horribly wrong.)

And (in a whisper): Have you tried just reopening the workbook and saving it
again in your code?

(That maybe putting a bandaid on a problem that comes back to bite you (yeah,
it's a mixed metaphor!))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

PowerPoint High Resolution Images from PowerPoint 0
Excel file size 1
How to Keep Excel Sheet Formatting On a CSV Sheet with vba 1
Excell 2021 0
Excel losing all file data 1
File Size problem 5
reducing file size 3
Excel And Notepad 3

Back
Top