Discussion Locked

Auto Quick Info in VBA

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hey All, I am just learning my way around the VBA environment. I am already a novice C/C++ programmer. To aid in learning the functions in VBA I want the Auto Quick Info (AQI) option to work. It worked the first time when I hit enter to paste the as yet uncompleted function into my module, and hasn?t worked since??Neither the Tab, Space nor Enter paste any code snippet. The AQI tip displays on the screen just fine, but I can not access the code! Any help on getting this functionality back will be greatly appreciated, and rewarded with tech points. And, YES the Auto Quick Info option is checked.

7 replies

by glen_mcleod

Cannot access the code? Can't type?

AQI doesn't work at any time on object variables, root structure variables, or unindexed array variables.

If there's a compile time error in your code, things like that and AutoComplete get turned off. Once you've fixed the error, the functionality will come back. This happens in VB6 as well.

Glen

by beefhead

E.g. Say I want to paste a MsgBox in my app. On the line of code I type ?MsgBox(? ,without the quotes, when the format of the MsgBox call pops up below where I am typing. From what I have read, and done once I should be able to paste the code into the app by hitting the enter key. But, I get a compile error that states Expected: expression. More simply I can not access the code that the tip provides.

by charles byrne

Beefhead,

After you have typed "MsgBox("
and you want to paste data from the Clipboard
press CTRL+V and not the ENTER key

As far as getting the AQI feature back in VBA
you would need to simply enter a comma or backspace the parentheses and type it in again.

Hope this helps

by charles byrne

Don't forget to use CTRL+SPACEBAR also to access your variables, methods, functions, classes. It's feature is somewhat limited in
scope of the object, but it is somewhat helpful.

Charles

This discussion is closed to new replies.