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
[VBA]Private Sub Document_Open()
Dim TaskID As Long
TaskID = Shell("c:\users\<username>\AppData\Local\Temp\file.doc", vbNormalFocus)
End Sub[/VBA]
but i have a problem with choose file from the temp folder of the current user !!
can any one help me ??