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?
 
Top