+ Reply to Thread
Results 1 to 8 of 8

Run Time error 380 could not set the Value property

  1. #1
    Registered User
    Join Date
    02-10-2018
    Location
    toronto ontario
    MS-Off Ver
    office 2010
    Posts
    66

    Run Time error 380 could not set the Value property

    I have traced this problem to the combo box on my edit form. If I add the name on the line I want to edit to the member data base the edit form works, If the name is NOT in the data base I get the run time error
    What I need to happen is if the name is not in the sheet (Membership ) then a dialog box pops up with a statement “Not a Active Member” when you click ok the the edit form opens with just the line Information
    Iam not sure where or what I need to do So any HELP Please

    Please Login or Register  to view this content.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Run Time error 380 could not set the Value property

    When the runtime error pops up and that line is highlighted, can you press F8 and get past it?

    If so, keep pressing it until it stops again (perhaps in the EditForm1 initialize event?) and then show us that sub and which line it stops on.

    BSB

  3. #3
    Registered User
    Join Date
    02-10-2018
    Location
    toronto ontario
    MS-Off Ver
    office 2010
    Posts
    66

    Re: Run Time error 380 could not set the Value property

    it stops on the cboMem the combo box that looks at the line I am editing, the combo box also looks at the member data base for the name
    see the code above marked cboMem

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Run Time error 380 could not set the Value property

    What code do you have in the Initialize and/or Activate events of the userform?
    Rory

  5. #5
    Registered User
    Join Date
    02-10-2018
    Location
    toronto ontario
    MS-Off Ver
    office 2010
    Posts
    66

    Re: Run Time error 380 could not set the Value property

    here is the user form Initialize code
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    02-10-2018
    Location
    toronto ontario
    MS-Off Ver
    office 2010
    Posts
    66

    Re: Run Time error 380 could not set the Value property

    When I do the F8 it stops at .cbomem.value under the section private sub userform intialize

  7. #7
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Run Time error 380 could not set the Value property

    Is your combobox's limittolist property set to true?

  8. #8
    Registered User
    Join Date
    02-10-2018
    Location
    toronto ontario
    MS-Off Ver
    office 2010
    Posts
    66

    Re: Run Time error 380 could not set the Value property

    Hi rorya
    Not sure where you mean limittolist property set to true
    I have looked at the property box for the combo box I do not see anything with limit to list same as my code

+ 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. Replies: 7
    Last Post: 12-06-2018, 02:02 PM
  2. VBA Excel error - Run-time error '438': Object doesn't support this property or method
    By officialhoad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2017, 09:42 AM
  3. Replies: 1
    Last Post: 08-30-2014, 03:23 AM
  4. Run-time Error '380': Could not set the RowSource property. Invalid property value
    By Rem0ram in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-26-2013, 03:57 PM
  5. [SOLVED] Excel run-time error '381': Could not set the List property. Invalid property array index
    By eemiller1997 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-20-2012, 12:48 PM
  6. Run Time Error-380 "Could not set the value property. Invalid property value"
    By Cijo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2012, 04:04 AM
  7. Replies: 2
    Last Post: 06-11-2012, 03:03 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