Extracting Windows UserName in Calc

Creating a macro - Writing a Script - Using the API

Extracting Windows UserName in Calc

Postby dziubec » Mon Jul 03, 2017 1:00 pm

Hello All,

I'm newbie in OpenOffice, till now I was working on MS Excel and I would ilke to know if there is a way in Calc before saving document to extract Windows UserName and save it in the same file? I know how to do it in VBA, however, I don't know in OO Basic?

Anyone can help?


OpenOffice 4.1.3 on Windows 7
Posts: 1
Joined: Mon Jul 03, 2017 12:54 pm

Re: Extracting Windows UserName in Calc

Postby Lupp » Mon Jul 03, 2017 7:43 pm

On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
Lupp from München
User avatar
Posts: 1879
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 6 guests