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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

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.
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,491
Messages
5,764,675
Members
425,229
Latest member
Rashid mahmood

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