"excel vba number format file size" Code Answer's
You're definitely familiar with the best coding language VBA that developers use to develop their projects and they get all their queries like "excel vba number format file size" answered properly. Developers are finding an appropriate answer about excel vba number format file size related to the VBA coding language. By visiting this online portal developers get answers concerning VBA codes question like excel vba number format file size. Enter your desired code related query in the search bar and get every piece of information about VBA code related question on excel vba number format file size.
excel vba number format file size

Select Case objFile.Size
Case 0 To 1023
Cells(NextRow, "D").Value = Format(objFile.Size, "0") & "B"
Case 1024 To 1048575
Cells(NextRow, "D").Value = Format(objFile.Size / 1024, "0") & "KB"
Case 1048576 To 1073741823
Cells(NextRow, "D").Value = Format(objFile.Size / 1048576, "0") & "MB"
Case 1073741824 To 1.11111111111074E+20
Cells(NextRow, "D").Value = Format(objFile.Size / 1073741823, "0.00") & "GB"
End Select
Source: www.mrexcel.com
excel vba number format file size

[<1000000]0.00," KB";[<1000000000]0.00,," MB";0.00,,," GB"
Source: social.msdn.microsoft.com
All those coders who are working on the VBA based application and are stuck on excel vba number format file size can get a collection of related answers to their query. Programmers need to enter their query on excel vba number format file size related to VBA code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about excel vba number format file size for the programmers working on VBA code while coding their module. Coders are also allowed to rectify already present answers of excel vba number format file size while working on the VBA language code. Developers can add up suggestions if they deem fit any other answer relating to "excel vba number format file size". Visit this developer's friendly online web community, CodeProZone, and get your queries like excel vba number format file size resolved professionally and stay updated to the latest VBA updates.