Solved: Lotus Notes to Excel (If, your looking for a Challenge)
This is probably very difficult. I would like to have excel auto populate a field in excel from lotus notes. I would like the field to populate with the user name and the column to be activated by click. I know not a lot of people have Lotus Notes so, I am sure I narrowed the list of experts down greatly. The sheet has many users and instead of them typing their name in the “Requested by” column they type their department I have explained this many times and its hard to track down a person who put in the request for accounting if I have to search the whole Accounting division for that person! I have no idea where to start. Thanks in Advance!
Never Mind! You are brilliant!
That code works great!!! Thank you so much! I put the code in the wrong spot! Woops! Kenneth I would be lost without your help! This is the best site!
[quote=valendj]Kenneth,
I tried the code and it does not work.
Quote:
Originally Posted by Kenneth Hobs
Please try not to copy all of another's post in your reply. In particular, the code part needs not be repeated.
Copy the code that follows and paste as detailed next.
[vba]Function LotusNotesUserName() As String
Dim Session As Object
Dim s As String, sLen As Long
Set Session = CreateObject("Notes.NotesSession")
s = Session.UserName
Set Session = Nothing
]