Hi, thanks for the quick reply.
I have located the replace feature but am still struggling a bit. As I posted in my first post, the domain will change, so I can't use hard coded text. It needs to change. For example, on my home computer the domain is AAA\User but my netbook is BBB\User1.
Is there a way i use a *\ search or something like that?
- username=Replace(My.User.Name,* & "\","")
is what i got so far, but it didn't work. If I can't wildcard search for anything before the \ I could just remove the backslash.