"Fields" in Office

S

sean_mcad

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
 
R

Russ

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 ).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top