Results 1 to 15 of 15

Compile Error: Ambiguous name detected: Floor

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-13-2016
    Location
    CT USA
    MS-Off Ver
    office 365 subscription
    Posts
    180

    Compile Error: Ambiguous name detected: Floor

    attached is a file with the vba code

    The code module of interest: TestHouseObject
    class modules involved: House_Class, Floor_Class, Floor_CollectionClass

    The compile error(Ambiguous name detected:Floor)
    occurs in the House_Class in the code lines beginning with

    ' method to acquire a single floor (for looping)
      Public Property Get Floor(ByVal value as Variant) as Floor_Class
           set Floor = GFloors(value)
      end Property
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because it's only a couple of lines. --6StringJazzer

    *****************************
    my expectations were that Floor is defined as of type, Floor_Class, in the Public Property Get Floor
    hence I could then use it thereafter.
    Attached Files Attached Files
    Last edited by 6StringJazzer; 02-27-2023 at 09:19 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compile
    By rexcel548562 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2022, 10:16 AM
  2. [SOLVED] Compile Error: Ambiguous name detected
    By trubio77 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-19-2017, 02:26 PM
  3. Compile Error : Ambiguous name detected
    By vasanthrs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 09:58 AM
  4. [SOLVED] Compile error ambiguous name detected workbook_open
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-04-2013, 06:35 AM
  5. VBA Compile Error: Ambiguous name detected
    By kieranoduill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2013, 05:31 PM
  6. [SOLVED] compile error ambiguous name detected!?
    By Margate in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2013, 08:49 PM
  7. Compile error: Ambiguous name detected
    By Aletha in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2008, 05:48 PM

Tags for this Thread

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