09-27-2018
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-27-2018
01:08 PM
That helps a lot, I didn't know about "Set". Is there something I should Set my InputBox variable as? It worked in the original snippet of code without Set, but I want to Develop proper coding grammar as I learn more.
Now I need to find a way to check the type of document that ThisDoc becomes after setting it to ActiveDocument.
I'm not sure how to DocumentDescriptorsEnumerator correctly, it doesn't like my Set line for ThisDocType:
' Get the type of active document Dim ThisDocType As ObjectTypeEnum Set ThisDocType = DocumentDescriptorsEnumerator.Type(ThisDoc)