Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am wondering if there is a way to develop a batch process that could open a series of spreadsheets (optional really cause no one needs to look at them), execute a certain macro (or several) in each one, then print a certain sheet (or several) from each spreadsheet. Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am wondering if there is a way to develop a batch process that
That's what automation is about. You might search on "excel automation". I'm sure you'll get hits. -- Jim "Arshavir Grigorian" wrote in message ... Hi, I am wondering if there is a way to develop a batch process that could open a series of spreadsheets (optional really cause no one needs to look at them), execute a certain macro (or several) in each one, then print a certain sheet (or several) from each spreadsheet. Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The batch process as you call it is itself a macro. You will need to
define rules of which workbooks are to be opened, which information is to be pulled from them (I'm guessing this is the "certain macro" you're referring to), and which sheets from them will need to be printed. Once you have those figured out, you can translate these rules into VBA code that will automate the process. On Feb 8, 5:46*pm, Arshavir Grigorian wrote: Hi, I am wondering if there is a way to develop a batch process that could open a series of spreadsheets (optional really cause no one needs to look at them), execute a certain macro (or several) in each one, then print a certain sheet (or several) from each spreadsheet. Thanks. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Feb 9, 10:21*am, ilia wrote:
The batch process as you call it is itself a macro. *You will need to define rules of which workbooks are to be opened, which information is to be pulled from them (I'm guessing this is the "certain macro" you're referring to), and which sheets from them will need to be printed. *Once you have those figured out, you can translate these rules into VBA code that will automate the process. Thanks. But this would still require some human intervention to open Excel and run the macro. Ideally, I am looking to develop a process that can be run at certain date/time as a scheduled task. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Windows Task Scheduler to open Excel and run the workbook_open event code?
Gord Dibben MS Excel MVP On Mon, 11 Feb 2008 15:50:38 -0800 (PST), Arshavir Grigorian wrote: Thanks. But this would still require some human intervention to open Excel and run the macro. Ideally, I am looking to develop a process that can be run at certain date/time as a scheduled task. |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What if someone wants to open the spreadsheet for viewing without
running the VB code? On Feb 11, 4:16*pm, Gord Dibben <gorddibbATshawDOTca wrote: Windows Task Scheduler to openExceland run the workbook_open event code? Gord Dibben *MSExcelMVP On Mon, 11 Feb 2008 15:50:38 -0800 (PST), ArshavirGrigorian wrote: Thanks. But this would still require some human intervention to open Exceland run the macro. Ideally, I am looking to develop a process that can be run at certain date/time as a scheduled task.- Hide quoted text - - Show quoted text - |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Open in safe mode or hold SHIFT key while opening.
Or............ Set security to medium and disable macros when asked. Gord On Tue, 12 Feb 2008 12:14:24 -0800 (PST), Arshavir Grigorian wrote: What if someone wants to open the spreadsheet for viewing without running the VB code? On Feb 11, 4:16*pm, Gord Dibben <gorddibbATshawDOTca wrote: Windows Task Scheduler to openExceland run the workbook_open event code? Gord Dibben *MSExcelMVP On Mon, 11 Feb 2008 15:50:38 -0800 (PST), ArshavirGrigorian wrote: Thanks. But this would still require some human intervention to open Exceland run the macro. Ideally, I am looking to develop a process that can be run at certain date/time as a scheduled task.- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Supressing the ctrl-c and other keys during word automation in automation | Excel Programming | |||
Excel 2.1 - .NET Automation | Excel Programming | |||
Excel 2.1 - .NET Automation | Excel Programming | |||
Excel Automation using .NET | Excel Programming | |||
Excel automation | Excel Programming |