Use the UNC path instead.
See
http://www.dailydoseofexcel.com/arch...6/21/unc-path/ and
scroll down to the first comment for sample code.
--JP
On Oct 16, 11:49*am, Merlynsdad <Merlyns...@discussions.microsoft.com>
wrote:
> I have an Excel file which needs to access another Excel file on a network. I
> want to write the filename as a constant. This works fine when the constant
> refers to a file *on my local drive, but if the constant refers to a network
> drive, when the code gets to "Windows (constant).Activate" it fails. How do I
> get this to refer to a file on a network drive?