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 / October 2007

Tip: Looking for answers? Try searching our database.

"Fields" in Office

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sean_mcad - 01 Oct 2007 22:24 GMT
I know how to attach fields to an underlining database. However, I am curious
if fields can grab QueryString variables in the Url string if it is opened on
a server from a webpage.
I am also curious if there is an existing field for current login user name
and date/time now (when the document is opened). Ideally I would like to do
this stuff without scripting but if VBA is required that is fine as well.

Word 2003
Russ - 07 Oct 2007 02:02 GMT
Sean,
Are we talking about fields or named variables?
Terminology changes between applications. For instance, 'range' means
something different between Excel and Word, so you must specify which
application you are addressing with a syntax word.

To see example of a word editor 'fields':
Open word and use menu Insert/Field. A dialog box will show you all the
pre-built fields and their options. Recording a macro while inserting a
field will help produce VBA code, if needed. VBA code using the environ()
function can access Windows OS environmental variables ( for getting things
like login user, who may not be the same as using a field that returns
document author's name ).

> I know how to attach fields to an underlining database. However, I am curious
> if fields can grab QueryString variables in the Url string if it is opened on
[quoted text clipped - 4 lines]
>
> Word 2003

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID


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.