Results 1 to 5 of 5

Cannot Dim object as commandBar

  1. #1
    klnlsu is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Apr 2015
    Posts
    107

    Cannot Dim object as commandBar


    I am trying to create right click menus in my Access 2013 database. When I try to dim my object as commandBar, commandBar is not an option. Is there a reference library I need to add or something?

  2. #2
    SierraJuliet's Avatar
    SierraJuliet is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Dec 2017
    Location
    Earth
    Posts
    212
    Quote Originally Posted by klnlsu View Post
    I am trying to create right click menus in my Access 2013 database. When I try to dim my object as commandBar, commandBar is not an option. Is there a reference library I need to add or something?
    See if this helps. https://www.experts-exchange.com/art...-your-own.html

  3. #3
    klnlsu is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Apr 2015
    Posts
    107
    Update: I found it! I needed to have the Microsoft Office 15.0 Object Library referenced.

  4. #4
    SierraJuliet's Avatar
    SierraJuliet is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Dec 2017
    Location
    Earth
    Posts
    212
    That is what I was suspecting. It was in the link provided

  5. #5
    klnlsu is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Apr 2015
    Posts
    107
    Thank you for your input, SierraJuliet. I found it in another article about the same time you responded. I had the Access library in my references, but not the Office library.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 09-06-2017, 10:31 AM
  2. Replies: 2
    Last Post: 07-20-2017, 07:20 AM
  3. Replies: 4
    Last Post: 05-02-2016, 04:33 AM
  4. Replies: 1
    Last Post: 09-03-2011, 07:01 PM
  5. Replies: 1
    Last Post: 08-05-2010, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Tech Forums: Microsoft Office Forums