View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Leith Ross[_461_] Leith Ross[_461_] is offline
external usenet poster
 
Posts: 1
Default Prinout function


Hello Chris,

You should use the named arguments when calling the function...

me.PrintOut PrintToFile:="True", PrToFileName:="C:\My Documents\My
File.xls"

Just change the print to file name string to include the path (if
different from the current directory) and the file name.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=497789