+ Reply to Thread
Results 1 to 9 of 9

"Could not set the Name property. Ambiguous name"

  1. #1
    Registered User
    Join Date
    07-23-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    17

    "Could not set the Name property. Ambiguous name"

    Hi there,

    I am working on coding a userform. My fields are code, project name, project lead, project assist, priority, tasks, start date, duration, % complete, end date, status and comments.

    I want to be able to enter multiple tasks for one project but I can not get the code right. I have five fields under tasks so that I can at least enter five at a time for one project, the field textbox is called "txtTasks" and when I enter the same name for the textbox below it I get the following message "Could not set the Name property. Ambiguous name".

    Is there a way to code them so that the tasks can be entered and listed one under another?

    Thank you for your time.

  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

    Re: "Could not set the Name property. Ambiguous name"

    You can name them txtTask1, txtTask2, ...
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-23-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: "Could not set the Name property. Ambiguous name"

    Thank you, I will try that.

    These will all go under a column named "Tasks" in my spreadsheet, will that still work?

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

    Re: "Could not set the Name property. Ambiguous name"

    You said these were on a userform

  5. #5
    Registered User
    Join Date
    07-23-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: "Could not set the Name property. Ambiguous name"

    Yes, and once I enter the data on the form i will click "Add" and the information will copy over onto my spreadsheet.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: "Could not set the Name property. Ambiguous name"

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Registered User
    Join Date
    07-23-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: "Could not set the Name property. Ambiguous name"

    Hmm, I think I am doing what you mentioned Roy. Except I dont have the numbers on my dummy worksheet...

  8. #8
    Registered User
    Join Date
    07-23-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: "Could not set the Name property. Ambiguous name"

    I have attached my workbook. Maybe it's easier to see it that way
    Attached Files Attached Files

  9. #9
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: "Could not set the Name property. Ambiguous name"

    Do you mean each Project could have multiple lines in the Table?

+ 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