Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Controlsource property of the TEXTBOX

Status
Not open for further replies.

FJAY

Programmer
Apr 23, 2003
106
0
0
CA
The use of the controlsource property of the text box generates a run-time error 380:

could not set the controlsource property. Invalid property value.

'this line of code was put in the initialize section of form module.

frm1.txtCICM.ControlSource = Sheets("VAR").Range("L4").Text
 
hi,
Code:
   With Sheets("VAR")
      frm1.txtCICM.ControlSource = "=" & .Name & "!" & .[L4].Address
   End With

Skip,
[sub]
[glasses] [red]Be advised:[/red] When transmitting sheet music...
If it ain't baroque, don't fax it! [tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top