Thread: Update fields?
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Cannabibal Cannabibal is offline
external usenet poster
 
Posts: 2
Default Update fields?

Hi,

I wrote a function to get the current user's name:

' Get current user's name
Public Function GetUser() As String
GetUser = Environ("UserName")
End Function

It works fine on my computer, but other users say they had to double-click
on the fields to make its content being updated.
How can this be done within a macro?

Thanks,
Cannabibal