+ Reply to Thread
Results 1 to 7 of 7

UserForm - Could not set the Control source property?

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    UserForm - Could not set the Control source property?

    I have added a list box to a user form. The row source is a range name called MonthList which contains a list of 12 months formatted as mmm-yy. I have a range name called MonthChosen but when I attempt to type this name in the control source, I receive the following message: Could not set the Control source property - Invalid propert value?
    Thanks in advance

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: UserForm - Could not set the Control source property?

    to what does MonthChosen refer?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: UserForm - Could not set the Control source property?

    MonthChosen is a range name that stores the month that is selected from MonthList.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: UserForm - Could not set the Control source property?

    to what range does it refer specifically. there is no reason that what you describe should not work unless you defined a multiple cell range or typed the name in the controlsource box incorrectly
    personally I would use code to populate the listbox and the range rather than using the rowsource or controlsource properties

  5. #5
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: UserForm - Could not set the Control source property?

    It refers to a single cell. The name is typed in correctly?

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: UserForm - Could not set the Control source property?

    can you post the workbook then? (remove any data)

  7. #7
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: UserForm - Could not set the Control source property?

    Thanks for your interest Joseph but I have decided to use Data Validation[list] to solve the problem.

+ 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