Re: Cant find Sheet1. Whats wrong with this code?



"Diggy" <Diggy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:709C3FF2-7A8B-4113-ADB2-B9D2A5BB2AA8@xxxxxxxxxxxxxxxx
> Godmorning Frank, and thanks for your reply. It worked! Giving me a god
> morning to! Next, there is someting wrong with the search in the record
> set.
> I expected to get a value in the textbox txtFastighetskarta, but no. Can
> you
> have look at that to?
>
> Thanks again for your working advice! / Diggy
>

Try

Me.txtFastighetskarta.Text = Str(CLng(aRec.Fields(2)))

--
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.


.