D
DavidB
I'm trying to delete a file with
File.Delete("c:\Documents and Settings\%username%\Application
Data\Microsoft\Excel\excel*.xlb")
On doing this I get an Exception "Illegal characters in path" - I assume its
the %username% bit
I trierd
Dim UserName As String %username%
File.Delete("c:\Documents and Settings\" & UserName & "\Application
Data\Microsoft\Excel\excel*.xlb")
Still get the same error
How can I get the Username from the system !!???
File.Delete("c:\Documents and Settings\%username%\Application
Data\Microsoft\Excel\excel*.xlb")
On doing this I get an Exception "Illegal characters in path" - I assume its
the %username% bit
I trierd
Dim UserName As String %username%
File.Delete("c:\Documents and Settings\" & UserName & "\Application
Data\Microsoft\Excel\excel*.xlb")
Still get the same error
How can I get the Username from the system !!???