Cannot Pull Prompted Entry with VBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Visual Studio 2019. Inventor 2022.
I'm trying to pull <TITLE> from a titleblock. Some of my titleblocks are prompted entry, and others pull from a part. In either case, I see <TITLE> when looking at the titleblock.
I cannot get my code to read the prompted entry field, but if a sheet doesn't use a prompted entry for <TITLE> then it will read the value.
When I have the values input into excel, the prompted entry values are blank, but the auto-read values appear.
Here is the portion of my code that reads the value.
For Each otextbox In colTextBoxes
If otextbox.Text = "<TITLE>" Or otextbox.Text = "PROJECT_TITLE" Then
oDrawingTitle = otextbox
Continue For
End If
Next
If I put in a
Or otextbox.Text = "TITLE" Then
after the other conditions.
When I do this without the <> before TITLE and the blank values in excel become TITLE .
Does anyone have an idea of how to read prompted entry values?