Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Insert Typist's Initials

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Debra Ann - 31 Jan 2008 03:25 GMT
I'm trying to create a macro toolbar button in Microsoft Word (XP) that will
insert the initials or name or the person pushing the button at the cursor
location.  What is the code for this?

Thanks,

Signature

Debra Ann

Greg Maxey - 31 Jan 2008 03:33 GMT
Sub Scratchmacro()
Selection.TypeText Application.UserInitials
End Sub

Signature

Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

> I'm trying to create a macro toolbar button in Microsoft Word (XP)
> that will insert the initials or name or the person pushing the
> button at the cursor location.  What is the code for this?
>
> Thanks,
Debra Ann - 31 Jan 2008 11:30 GMT
Thanks.  This is what I needed.
Signature

Debra Ann

> Sub Scratchmacro()
> Selection.TypeText Application.UserInitials
[quoted text clipped - 5 lines]
> >
> > Thanks,
Klaus Linke - 31 Jan 2008 05:09 GMT
> I'm trying to create a macro toolbar button in Microsoft Word (XP) that
> will
> insert the initials or name or the person pushing the button at the cursor
> location.  What is the code for this?

... or insert a {USERINITIALS} field or {DOCPROPERTY Author} field: No
typing necessary?
Though the field(s) would have to be unlinked or locked if the text is to be
preserved.

Regards,
Klaus

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.