Get name of current server?

R

Rick Charnes

Is there a system variable (or function, or code) that will return to me
the name of the server that my VBA code is running on? Thanks.
 
J

Jonathan West

Hi Rick,

Application.acroContainer.FullName returns the full pathname of the template
where the currently running code is stored.
 
R

Rick Charnes

Hi Rick,

Application.acroContainer.FullName returns the full pathname of the template
where the currently running code is stored.
Thanks -- I just tried this and the pathname doesn't include the server
name. Any other possibilities?
 

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