Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

@bradeneuropeArthur

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)