Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Permission to print from batch job printing Excel spreadsheet

I have a program which creates an Excel spreadsheet, then uses the following
to print to a printer:

oXL.Application.ActivePrinter = "\\ServerName\PrinterName on Ne01:"
oXL.ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\ServerName\PrinterName on Ne01:", Collate:=True

This program is run in batch. As long as "Administrator" is the processer
of the batch it works fine. However, since "Administrator" is not generally
a user to have running programs all the time, I have set up antoher user with
administrator rights. When processing under this user the command gets a
"Mode" error. Anyone know what specific permissions are needed for a batch
job to print an excel spreadsheet? Thanks in advance.

--
Tom at Famous Daves
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch print excel files Lamb Chop Excel Discussion (Misc queries) 1 November 7th 07 02:47 PM
How do I batch print changing info to a template in Excel ? Calculus Excel Discussion (Misc queries) 0 July 5th 07 07:44 AM
Can I batch print several files at once with Excel? blueberry Excel Discussion (Misc queries) 0 July 19th 06 09:44 PM
Batch printing of excel files Grd Excel Programming 1 October 20th 05 07:52 PM
How can I batch print Excel files? HBYardSale Excel Programming 3 December 15th 03 05:24 PM


All times are GMT +1. The time now is 02:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"