Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello!
Can you tell me how to compare the file size of 2 files and if file "A" is larger than file "B" then MsgBox "Check file". I've been at this for hours and just can't get anything to work. Thank You, Terri |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If the files are closed then:
lenA = FileLen("C:\MyFolder\WorkbooksA.xls") lenB = FileLen("C:\Myfolder\WorkbooksB.xls") If LenA LenB then msgbox "Check file" end if -- Regards, Tom Ogilvy "Terri" wrote in message ... Hello! Can you tell me how to compare the file size of 2 files and if file "A" is larger than file "B" then MsgBox "Check file". I've been at this for hours and just can't get anything to work. Thank You, Terri |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank You! Thank You! Thank You! This works great!
Terri "Tom Ogilvy" wrote: If the files are closed then: lenA = FileLen("C:\MyFolder\WorkbooksA.xls") lenB = FileLen("C:\Myfolder\WorkbooksB.xls") If LenA LenB then msgbox "Check file" end if -- Regards, Tom Ogilvy "Terri" wrote in message ... Hello! Can you tell me how to compare the file size of 2 files and if file "A" is larger than file "B" then MsgBox "Check file". I've been at this for hours and just can't get anything to work. Thank You, Terri |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compare Excel file size | Excel Discussion (Misc queries) | |||
How do I compare pie charts by varying size | Charts and Charting in Excel | |||
Compare two different size lists | Excel Worksheet Functions | |||
Compare ranges different size | Excel Worksheet Functions | |||
Bit to Bit Compare of Files? | Excel Programming |