Hi ratman,
This seems only to change the current directory. I eventually played with this and got it to work:
Dim strCMD, RetVal
strCMD = "Explorer.exe \\My_unc\folder"
RetVal = Shell(strCMD, vbNormalFocus)
Kind regards and many thanks.
--
Viz
Again, many thanks for the reply...
What I would like to do is simply open a folder, rather than use any of the application's dialogs.
The excel spreadsheet has a control which opens a word document which is stored on a network. I need another control (embedded in the spreadsheet) which will...
Thanks for the reply.
I have some controls in an Excel sheet which do various things (open word documents, etc.). I need another control which simply opens a directory.
Any thoughts?
--
Viz
Dim Document
Dim Application
Dim blnError
Set Application = CreateObject("Word.Application")
Application.Visible = True
Application.Documents.Open ("c:\mytemplate.dot")
This only opens the template. How do I create a new document from a template...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.