Get File Size Question

DDH

Well-known Member
Joined
Sep 25, 2003
Messages
513
I have a Excel file that increases in size each day. Now it is 15.9MB and by Monday it will grow to 16.0MB. I am looking it up through properties now and I thought I would use the GetFileSize to have it show automaticaly.
When I use the command I get a #NAME? I have checked and the Format Cells Number is set on General.
I had hoped that the GetFileSize would display the 15.9MB automaticaly.
What am I doing wrong?
Thank you for your help

GETFILESIZE()/(1024^2)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

DDH

Well-known Member
Joined
Sep 25, 2003
Messages
513
Thank you for the help. I had the answer all the time and was not smart enough to use it.
I have it showing the total file MB in one cell and the total file bytes in another cell and in another cell it lists the average bytes per line of data.
As lines are added it shows the increase.

Thanks for the help this time and all of the times in the past, you are GREAT group of people.
 
Upvote 0

Forum statistics

Threads
1,186,807
Messages
5,959,923
Members
438,454
Latest member
leopedrini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top