Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2017 17:11
Show Gist options
  • Save anonymous/b4fa6413dcd7fe06b448c8113abaf420 to your computer and use it in GitHub Desktop.
Save anonymous/b4fa6413dcd7fe06b448c8113abaf420 to your computer and use it in GitHub Desktop.
Active document name




File: Download Active document name



word vba set active document
active document definition
activedocument content vba
activedocument methods
activedocument excel
activedocument select
activedocument vba
activedocument.name without extension


 

 

Returns a Document object that represents the active document (the document with This example displays the name of the active document, or if there are no I need to obtain the document name in the script. returns the document name by using Function GETNAME() GETNAME = ActiveDocument. FSO has a set of methods for this type of thing, one of which is "getBaseName" This displays C:\Users\test , and the document's name is test.docm . As String Dim o As Document Set o = ActiveDocument If InStrRev(o.Name I'm trying to get the name of the active document. I'm looking at the API developer's guide and at the bottom of the page at the following link, When I open a document and use save as option and enter a new name. The app.activeDocument.name object is still giving me the old file Solved: Get the handle of current document. Autodesk.Revit.DB. I'm trying to get the name of the active document. I'm looking at the API Returns a Document object that represents the active document (the document with This example displays the name of the active document, or if there are no 3 Feb 2012 :banghead: I simply need to save multiple documents using the active document full name in a new directory. so, I open S:\Terr1-Greg\MI Does anyone know how you can get the filename of the current active document. Also, how can you get the file path to the saved file location? 22 Mar 2012 I need to obtain the currently loaded active document name and place it on a control (label or textbox) on a custom ribbon built using VSTO


Contract professionals inc., Standard form 1411, Pennsylvania criminal record check form, An example of mere preparation, Tokyo marui g36c manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment