View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Excel generation and PageSetup.CenterHeader

Just add and select a print driver in the Operating System. You don't
actually have to have a printer attached.

--
Regards,
Tom Ogilvy

"lfb" wrote in message
...
Hi,

I'm programming a web site from which I can generate Excel files (using
PIA).
I have no problem except writing Headers and Footers : I get a "printer is
required" error message when trying to execute PageSetup.CenterHeader...
The web site will run on a server where no printer is running. How can I
bypass this problem ? Can I create a sort of virtual printer or anything
else ?

Thanks for help,
Laurent.