|
-
Nov 22nd, 2011, 10:54 AM
#1
Thread Starter
Member
Opening a file
Hiya
Need a bit of help with this code. What I'am attempting to do is take the file selected from my open dialog box and open it in that format.
1 With cdg
2 .InitDir = "N:\A2 SUBJECTS" '*
3 .Filter = "All files|*.*|Image files|*.gif*.bmp;*.png;*.bmp|Text files|*.txt;*.doc;*.docx|"
4 .Flags = cdlOFNHideReadOnly
5 .Flags = cdlOFNFileMustExist
6 .Flags = cdlOFNOverwritePrompt
7 .DialogTitle = "Open the document you wish to edit"
8 .ShowOpen
9 End With
What I have so far as a solution really dont know how to approach this 1
Open cdg.FileName For Input As #1
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
|