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