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