i know how to use:
but what if i want to declare the filename in a string var, how to open it using the shell command?Code:shell "notepad filename.txt"
because i want to open a filename with a date format (ex: logfile_2001-04-10)
so i'll sth like:
but i dont know how to put it to the Shell command...Code:Dim fileName as String fileName = "logfile_" & Format(date, "yyyy-mm-dd")
pls help
thx in advance
------------------
Help!!! I'm swimming with the sharks...!!


Reply With Quote