I
Ian Bayly
In VB6 I need to extract the Username, Initials and Address info held in
"Tools-Options-User Info".
I can extract UserName but routine fails( Err438 - Object doesn't support
....) when I try Initials or Address.
Tried early and late binding .
Here is code snip:
~~~~~~~~~~~~~~~~~~~~
With objWdDoc
lName_s = Application.UserName
lInits_s = Application.UserInitials
lAddress_s = Application.UserAddress
End With
~~~~~~~~~~~~~~~~~~~~
I realise this is a strictly VB6 question but it will require Word knowledge
to answer.
Appreciate any advice.
Ian B
"Tools-Options-User Info".
I can extract UserName but routine fails( Err438 - Object doesn't support
....) when I try Initials or Address.
Tried early and late binding .
Here is code snip:
~~~~~~~~~~~~~~~~~~~~
With objWdDoc
lName_s = Application.UserName
lInits_s = Application.UserInitials
lAddress_s = Application.UserAddress
End With
~~~~~~~~~~~~~~~~~~~~
I realise this is a strictly VB6 question but it will require Word knowledge
to answer.
Appreciate any advice.
Ian B