AnsweredAssumed Answered

Runtime Error 91 in 'Resize to show all values" button.

Question asked by Pats1287 on Jul 24, 2017
Latest reply on Apr 29, 2020 by HenryWoo13

Hey everyone,

I am trying to create  a button to "programmatically reclculate (resize) datalink functions," as described by this article:  . But when I click on the button after finishing the steps, I get an error that says "runtime error 91: Object variable or with block variable not set." When I click on the debug option it highlights the "automationObject.SelectRange" statement.


One other problem that I am having is in selecting the PIDLdialogs reference as describe in the article. When I click on tools and then reference, I do not see the option for PIDLdialogs. I do however see an option for PI-SDK Dialogs.


Any help with this matter would be greatly appreciated.