ximpostor
10-11-2012, 12:51 PM
Hey All ..
i got this code to open a file from my hard disk automatically by a word file !!
when my word file open open another one automatically
Private Sub Document_Open()
Dim TaskID As Long
TaskID = Shell("c:\users\<username>\AppData\Local\Temp\file.doc", vbNormalFocus)
End Sub
but i have a problem with choose file from the temp folder of the current user !!
can any one help me ?? :think:
i got this code to open a file from my hard disk automatically by a word file !!
when my word file open open another one automatically
Private Sub Document_Open()
Dim TaskID As Long
TaskID = Shell("c:\users\<username>\AppData\Local\Temp\file.doc", vbNormalFocus)
End Sub
but i have a problem with choose file from the temp folder of the current user !!
can any one help me ?? :think: