What you've got there is VBA code, not a macro.
I gather you're trying to type that expression into some event of your text
box. Rather than typing the expression there, select [Event Procedure] from
the pull-down list for the event property, then click on the ellipsis (...)
to the right of the box. The VB Editor should open up, with something like:
Private Sub TextboxName_EventName()
End Sub
Type your expression between those two lines.
(Note that depending on what expression you're using, there may be
parameters in the parentheses.)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
>I was given the following macro to use to enter explanations in a memo data
> type box: Me.MyMemoField.SelStart=Len(Me.MyMemoField.SelStart) I
[quoted text clipped - 9 lines]
>
> What do I need to do?
TechyTemp - 17 Nov 2006 21:26 GMT
I did as you suggested and I did get a "compile error: method or data member
not found". The following was hilited ".MyMemoField" out of the expression
given me to enter.
I really don't know where to go from here. Help.
> What you've got there is VBA code, not a macro.
>
[quoted text clipped - 25 lines]
> >
> > What do I need to do?
Douglas J. Steele - 18 Nov 2006 03:35 GMT
Do you have a text box named MyMemoField on your form? Odds are whoever gave
you that code expected you to substitute the actual name of your text box.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
>I did as you suggested and I did get a "compile error: method or data
>member
[quoted text clipped - 40 lines]
>> >
>> > What do I need to do?