Hi, this is my first time posting, so hopefully I do not mess it up too much.
I am currently using Excel 2013 to create user input forms for recording information about support calls. I am relatively new to VBA and am pretty stumped on the Run-time error I keep receiving.
I have been using the following code to populate the row source, based on whether a particular radio button is selected. Most of the time it works fine, however occasionally it returns Run time error '380': Could not set the RowSource property. Invalid property value.
Private Sub Options()
Workbooks("ms call record form AOP").Activate
Select Case True
Case claims_option
call_reason.RowSource = ("call_reason_claims")
Case membership_option
call_reason.RowSource = ("call_reason_membership")
End Select
End Sub
I thought maybe it was because the users have multiple workbooks open at the same time, and it wasn't running on the correct workbook, however that doesn't seem to be the case.
Any help anyone can provide would be greatly appreciated!
thanks, Kate
I am currently using Excel 2013 to create user input forms for recording information about support calls. I am relatively new to VBA and am pretty stumped on the Run-time error I keep receiving.
I have been using the following code to populate the row source, based on whether a particular radio button is selected. Most of the time it works fine, however occasionally it returns Run time error '380': Could not set the RowSource property. Invalid property value.
Private Sub Options()
Workbooks("ms call record form AOP").Activate
Select Case True
Case claims_option
call_reason.RowSource = ("call_reason_claims")
Case membership_option
call_reason.RowSource = ("call_reason_membership")
End Select
End Sub
I thought maybe it was because the users have multiple workbooks open at the same time, and it wasn't running on the correct workbook, however that doesn't seem to be the case.
Any help anyone can provide would be greatly appreciated!
thanks, Kate