Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Contents of a file
look at the
if fileLen("c:\myfolder\mycsv.csv") = 0 then msgbox "File is empty" End if -- Regards, Tom Ogilvy "Joe" wrote in message ... Hello, I am writing a vba macro and my input is an excel file saved in .csv (command delimited). How could I write a code in vba to check the contents of "myfile.csv" is blank or no data at all. Need your help please. Thanks Joe |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
2007 Macro to Open File, Delete Contents, Save New File | Excel Discussion (Misc queries) | |||
Table of Contents for Excel File | Excel Discussion (Misc queries) | |||
How to set SAVE AS file name to equal A1 contents when rename file | Excel Discussion (Misc queries) | |||
File name equal cell contents | Excel Discussion (Misc queries) | |||
Saving a file(new) using the multiple cell contents as a file name | Excel Programming |