+ Reply to Thread
Results 1 to 3 of 3

Ambiguous name detected

  1. #1
    Forum Contributor
    Join Date
    07-05-2016
    Location
    cardiff
    MS-Off Ver
    2010
    Posts
    787

    Ambiguous name detected

    I have an "ambiguous name detected". These combo boxes are on the same user form named combobox1 and 2 respectively.
    I'm not sure what "Private sub UserForm-Initialize()" can be retitled to yet it shighlighted as an error.
    Any suggestions?



    Please Login or Register  to view this content.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2016 primarily
    Posts
    4,437

    Re: Ambiguous name detected

    You can't have two Initialize events. Just put all the code in one.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    5,816

    Re: Ambiguous name detected

    You cannot have two macros with the same name. Try combining the two like this:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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] ambiguous name detected
    By kenboy in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-07-2015, 11:49 AM
  2. Ambiguous name detected
    By lulu319 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2013, 12:54 PM
  3. Ambiguous name detected...but why?
    By kocinela in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2012, 11:36 AM
  4. [SOLVED] Ambiguous Name Detected
    By stokie21 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-21-2012, 11:01 AM
  5. Ambiguous name detected
    By antony moseley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-03-2010, 03:22 PM
  6. Ambiguous Name Detected
    By TonyforVBA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2010, 01:33 PM
  7. Ambiguous name detected - please help
    By umax in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2006, 08:26 PM

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