Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2019, 03:00 PM
DaveP DaveP is offline Open Folder/File by Keyword Windows 10 Open Folder/File by Keyword Office 2010
Novice
Open Folder/File by Keyword
 
Join Date: May 2019
Posts: 11
DaveP is on a distinguished road
Default

Also, I just discovered that a piece of code I wrote, that opens the active document's containing folder, doesn't work if the file is saved to the network, as opposed to saved to your PC. Here's the code to open the file path of this active document:


Sub FolderTest()
Shell Environ("windir") & "\Explorer.exe " & ActiveDocument.path, vbNormalFocus
End Sub
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
When i open excel one always the same excel file open(empty XLstart folder) marcin4991 Excel 2 08-29-2016 02:36 AM
Open Folder/File by Keyword How to open Documents folder directly from CTRL+O of Open folder on QAT scvjudy Word 2 08-11-2014 10:58 PM
Open Folder/File by Keyword Formula to open external file with specific program (like open with) pemartins Excel 16 02-24-2014 11:39 PM
Open Folder/File by Keyword excel cannot open the file .xlsx because the file format or file extension is not val teddysika Excel 1 11-22-2012 06:06 AM
Open Folder/File by Keyword Setting file open folder options KevinJ Word 1 10-15-2011 05:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft