Question: my vba code keeps getting the error that wrong number of arguments or invalid property assignment and it highlights findstate. How can I fix this

my vba code keeps getting the error that "wrong number of arguments or invalid property assignment and it highlights findstate. How can I fix this problem

Sub StateSearch() Dim state As String

InputBox "Enter a state you'd like to search for.", "State search" FindState state, isFound MsgBox "State was " & isFound, vbInformation End Sub

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!