Thanks for this snippet, however I have found a problem with it in my application. If the path name has a space in it this call fails to work. e.g. the path C:\Documents and Settings\craig laptop\My Documents\COMS DETAILS.xls displayed an error message that the file C:\Documents did not exist. I tried putting quotes around it but it made no difference. Any ideas?
regards
Craig
By Anonymous (not verified) at Mon, 2007-12-03 01:24
Thanks for this snippet,
Thanks for this snippet, however I have found a problem with it in my application. If the path name has a space in it this call fails to work. e.g. the path C:\Documents and Settings\craig laptop\My Documents\COMS DETAILS.xls displayed an error message that the file C:\Documents did not exist. I tried putting quotes around it but it made no difference. Any ideas?
regards
Craig