|
-
Sep 27th, 2002, 10:08 AM
#1
Thread Starter
Lively Member
Shelling Word Documents
I'm trying to shell a word document from Access VBA, passing the path to the document in the command line. My problem is that some of the paths that are passed have spaces in them, and when you use command line parameters in this way it interprets a space as the end of the command line and thus fails to open the document. I've tried writing code to URLEncode it myself, but it doesn't like this. I've tried shelling Internet Explorer with the path in the command line, but this gives me file not found. Does anyone know of any other ways that I can open a document programmatically from Access VBA?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|