There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
access acer asus bios bsod computer crash dns drive driver drivers error ethernet excel freeze games gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram random registry router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
VBA "Auto Quick Info" AKA Intellisense

Reply  
Thread Tools
kriswork's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2009
Location: Swindon, UK
Experience: Intermediate
26-Oct-2009, 11:54 AM #1
Question VBA "Auto Quick Info" AKA Intellisense
Hi All,

I'm using MS Access 2003 VBA and also Excel2003.
"Auto Quick Info" works fine for MS Access, but is there an option for it to help out with other office apps that I'm working with from MS Access.
All my code is called from MS Access, but I'm doing alot of work with Excel (from MS Access) and "Auto Quick Info" does not help me with Excel objects when writing code in MS Access.
If I load Excel and then load another copy of VBA from there I can then get the parameters etc to appear but it is a bit of a pain to do it that way.

Thanks

Kristian
Rollin_Again's Avatar
Senior Member with 4,273 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
28-Oct-2009, 09:42 PM #2
Are you using late binding or early binding when accessing the other applications?

Regards,
Rollin
Rollin_Again's Avatar
Senior Member with 4,273 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
28-Oct-2009, 09:43 PM #3
It would also be helpful to post some of your sample code if possible.

Regards,
Rollin
kriswork's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2009
Location: Swindon, UK
Experience: Intermediate
29-Oct-2009, 11:03 AM #4
Smile I think I've worked it out now...
Thanks for the reply.
The 'auto quick info' seems to work out what to suggest from what you have dimmed the variable as.
This works fine for most things unless you dim a variable as type 'Object' from which the 'auto quick info' can't make any suggestions.
I've been working from someone elses code who had dimmed all the variables for use with Excel as just 'object' rather than using 'workbook' or 'worksheet' - I'll swap all the dims over and see what happens.

Thanks

Kris
kriswork's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2009
Location: Swindon, UK
Experience: Intermediate
29-Oct-2009, 11:14 AM #5
Having thought a bit more, I guess dimming something as an 'object' counts as late binding
Rollin_Again's Avatar
Senior Member with 4,273 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
29-Oct-2009, 03:31 PM #6
Your last statement is correct. If you set reference to the appropriate VBA library (early binding) the intellisense will be available in the VB editor. The only downside to early binding is that the object library that you have set reference to may not be available on the user's computer if they have an earlier version of the application installed on their PC.

Regards,
Rollin
Reply

Tags
access, excel, vba

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:10 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.