Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default I want to update an excel 2007 file automatically in batch mode.

Hello,

I want to update an excel 2007 file automatically in batch mode.

I have a trigger point outside of excel. Each time an event happen, I want
to run a bat file or a VBS to call excel to open my excel file and update it,
save it and end.

The steps that I want to automat a
1. How to Open my excel file in batch mode (hide)
2. Call a micro automatically
3. Save my excel file
4. End excel

I want to do this without any user interaction.

My Company has a process that runs all day with new data. Each time this
happen we want to update this excel file.

Any Help. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default I want to update an excel 2007 file automatically in batch mode.

There are two methods

1) You can run excel from a batch command line and specify the file to open.
This will not meet all your requirements because excel will be visible.

2) Modify the Excel file without opening the file. Do a search at this
discussion group for :

read excel file without opening

The are a few postings that are revelant.

"Rolex" wrote:

Hello,

I want to update an excel 2007 file automatically in batch mode.

I have a trigger point outside of excel. Each time an event happen, I want
to run a bat file or a VBS to call excel to open my excel file and update it,
save it and end.

The steps that I want to automat a
1. How to Open my excel file in batch mode (hide)
2. Call a micro automatically
3. Save my excel file
4. End excel

I want to do this without any user interaction.

My Company has a process that runs all day with new data. Each time this
happen we want to update this excel file.

Any Help. Thanks.

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
How do I set caluculations to update automatically? Excel 2007 Cash Excel Discussion (Misc queries) 2 January 26th 08 05:57 PM
How to put excel into batch mode Lew Schwartz Excel Programming 3 October 9th 06 08:39 PM
Hide Excel session when running at the batch mode xiaoxshi Excel Discussion (Misc queries) 1 July 23rd 06 03:54 PM
How to refresh a Excel workbook with pivot & ADO query report in batch mode Karen Middleton Excel Discussion (Misc queries) 1 April 29th 05 02:05 PM
Excel in batch mode Bura Tino Excel Programming 1 April 23rd 04 08:46 AM


All times are GMT +1. The time now is 12:04 PM.

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"