+ Reply to Thread
Results 1 to 2 of 2

Creating a Shortcut menu but is not working!

  1. #1
    Registered User
    Join Date
    12-05-2006
    Posts
    28

    Creating a Shortcut menu but is not working!

    Hello all, I am using this piece of code found on Excel Power Programming With VBA but I can't figure out what the myItem variable should be I keep getting an error when I run it.
    I have tried CommandBarControl, CommandBarPopUp etc., but I keep getting either:
    Object variable or With block variable not set OR
    Method or data member not found (pointing to "FaceId").

    If anyone have this ebook or book and knows how to resolve this would be greatly appreciated. The ebook is missing the declaration portion of this code....I was trying to add it in there but it is not working.

    Please Login or Register  to view this content.
    Thanks.

    Edit 1: It doesn't work, there is no such thing as just Control.
    Last edited by Salmerin; 04-11-2008 at 07:08 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Try Control.

+ 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