+ Reply to Thread
Results 1 to 4 of 4

VBA - Intellisense

  1. #1
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    236

    VBA - Intellisense

    Hello all!

    Newbie VBA writer here. And, I'm just wondering....

    Are there specific rules as to why & when Intellisense will not be available when writing VBA?


    I already know that for Intellisense to work for variables, you need to declare them, and have Option Explicit enabled.

    But, there are sometimes, where I'll be writing a line of code, and I'll start typing, "Act" (to start writing "Activate"), press Ctrl+Space, and Intellisense will not be available. Why is this?


    Thank you!!
    Robert
    Last edited by sighlent1; 08-16-2024 at 11:58 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,677

    Re: VBA - Intellisense

    In VBA editor, try to check by:
    Tools/Option-> tab Editor, make sure the box "Auto List Members" is checked.
    If it still does not work, in edit mode, hit "Ctrl + Space" to activate
    Attached Images Attached Images
    Quang PT

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,064

    Re: VBA - Intellisense

    Intellisense will only work if it knows what type of object is involved. Any time you have an object that is just of generic Object type, you won't get intellisense. For example, activesheet returns an object, not a specific type, so you won't get intellisense. Similarly, using Worksheets() actually returns an Object, not a Worksheet.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: VBA - Intellisense

    Thank you so much for your responses!
    This clears things up a bit for me.
    I'm sure when I'm continuing to write VBA this information will make a lot more sense.

    Once again, thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] UDF Intellisense
    By EssoExplJoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2016, 03:34 PM
  2. [SOLVED] Intellisense
    By [email protected] in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-16-2006, 03:05 PM
  3. Intellisense
    By Stef in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-16-2006, 10:10 AM
  4. Intellisense
    By Sandy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-07-2006, 10:15 AM
  5. Intellisense does not pup up?
    By Ben in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2006, 11:10 AM
  6. Intellisense
    By Kramer in forum Excel General
    Replies: 14
    Last Post: 02-20-2005, 09:06 AM
  7. [SOLVED] IE in Excel with intellisense
    By abc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2005, 06:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1