+ Reply to Thread
Results 1 to 8 of 8

List of keywords / reserved words

  1. #1
    Forum Contributor
    Join Date
    08-12-2006
    Posts
    106

    List of keywords / reserved words

    Hi,

    I'm doing my thesis and I'm looking for a list of VBA keywords / reserved words. I know there's words like sub, end, function, select, for, each, if and so on and so on. But where's the complete reference to that list? I can easily find one for example for C, so I would imagine a similar list would exist for VBA too.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: List of keywords / reserved words

    Hello Jaymond Flurrie,

    I have never seen a listing for VBA keywords either in the on-line help or VBA help files. However, you might try researching books on VBA. Someone probably has compiled this list and published it.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    08-12-2006
    Posts
    106

    Re: List of keywords / reserved words

    Quote Originally Posted by Leith Ross View Post
    Hello Jaymond Flurrie,

    I have never seen a listing for VBA keywords either in the on-line help or VBA help files. However, you might try researching books on VBA. Someone probably has compiled this list and published it.
    Yeah, I have to admit that this answer was pretty much expected - otherwise it would have been easily available from Google.

    Anyway, I won't mark this solved, since someone might say that "hey this and this book has the list".

    Thanks for the answer anyway!

  4. #4
    Registered User
    Join Date
    11-14-2008
    Location
    Tampa
    MS-Off Ver
    Professional Plus 2007
    Posts
    30

    Re: List of keywords / reserved words

    try this page on a tutorial site I got started with

    http://www.functionx.com/vbaexcel/Lesson02.htm

  5. #5
    Forum Contributor
    Join Date
    08-12-2006
    Posts
    106

    Re: List of keywords / reserved words

    Quote Originally Posted by costadina View Post
    try this page on a tutorial site I got started with

    http://www.functionx.com/vbaexcel/Lesson02.htm
    Thank you for the link. Any idea what "There are some words you should (must) not use to name your variables. Those words are reserved for the VBA internal use. Therefore, those words are called keywords. Some of them are:" means? That the list is not complete?

  6. #6
    Registered User
    Join Date
    11-14-2008
    Location
    Tampa
    MS-Off Ver
    Professional Plus 2007
    Posts
    30

    Re: List of keywords / reserved words

    I went and re-read that. I would say the list is incomplete.

    Try Microsoft website or contacting Help at Microsoft and requesting a list.

  7. #7
    Forum Contributor
    Join Date
    08-12-2006
    Posts
    106

    Re: List of keywords / reserved words

    Quote Originally Posted by costadina View Post
    I went and re-read that. I would say the list is incomplete.

    Try Microsoft website or contacting Help at Microsoft and requesting a list.
    Well, I don't know if that's absolutely necessary to have that list. I can use just this "extract".

    But thanks for the idea!

  8. #8
    Forum Contributor excelkeechak's Avatar
    Join Date
    07-21-2008
    Location
    India.
    MS-Off Ver
    2013 /2016
    Posts
    363

    Re: List of keywords / reserved words

    i too thought of the same idea. i had also collected some imp routines/procedures in different situations.its an ongoing process.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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