Getting User Name in a VBA script

Getting User Name in a VBA script

pball
Mentor Mentor
2,501 Views
2 Replies
Message 1 of 3

Getting User Name in a VBA script

pball
Mentor
Mentor

I'm trying to make a VBA macro which would use the user name set in Inventor. I haven't been able to find anything on how to get that username. I would think it would be easily accessable, since it's commonly used to fill in iproperties.

 

Just in case someone isn't sure what I mean by user name, here is it's location in the options.

 

Options - General tab - User name: (top right)

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style

Userscript to edit forum links to jump to first unread post
Jump To First Post Userscript
0 Likes
Accepted solutions (1)
2,502 Views
2 Replies
Replies (2)
Message 2 of 3

Curtis_W
Consultant
Consultant
Accepted solution

Hi

There is an example of using the User Name at this link:

http://inventortrenches.blogspot.com/2011/04/using-inventor-ilogic-to-create-e-mail.html

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com


EESignature

Message 3 of 3

pball
Mentor
Mentor

Thanks for the link. As I though it was a simple bit of code, just fun to search for lol.

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style

Userscript to edit forum links to jump to first unread post
Jump To First Post Userscript
0 Likes