What Is The Difference

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

What is the difference?
The .Text , does it do or mean something
Thanks
DS

Me.txtLogOn.Text = "123"
Me.txtLogOn = "123"
 
In this example, there is no difference. When you do not supply a property
with a control, then the default is assumed. The default property of a text
box is .Text
 
So if I took code from VB6 and it says
Me.TxtOne.GetFocus
Me.TxtTwo = Me.TxtOne.Text

What would this be in VBA
just
Me.TxtTwo=Me.TxtOne

Would the value be the same?

Thanks
DS
 
Back
Top