Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Automate an Excel process

I have a process that via an Excel (import data) funtion using AcuODBC
driver will populate a spreadsheet with the "cobol data" from a Unix
system. I need to Automate this so it runs once a month automatically.
Can someone offer suggestions/sample of a step to accomplish this.
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Automate an Excel process

Schedule it with Task Scheduler (using a VBScript)


Option Explicit
Dim filePath, oExcel

filePath = "c:\Test.xls"
Set oExcel = CreateObject("Excel.Application")
oExcel.Workbooks.Open(filepath)
oExcel.Run "macro1"
oExcel.ActiveWorkbook.Save
oExcel.ActiveWorkbook.Close
oExcel.Quit
Set oExcel = Nothing

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"msnate" wrote:
|I have a process that via an Excel (import data) funtion using AcuODBC
| driver will populate a spreadsheet with the "cobol data" from a Unix
| system. I need to Automate this so it runs once a month automatically.
| Can someone offer suggestions/sample of a step to accomplish this.
| Thanks
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Automate an Excel process

Sounds great and thanks.

Dave Patrick wrote:
Schedule it with Task Scheduler (using a VBScript)


Option Explicit
Dim filePath, oExcel

filePath = "c:\Test.xls"
Set oExcel = CreateObject("Excel.Application")
oExcel.Workbooks.Open(filepath)
oExcel.Run "macro1"
oExcel.ActiveWorkbook.Save
oExcel.ActiveWorkbook.Close
oExcel.Quit
Set oExcel = Nothing

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"msnate" wrote:
|I have a process that via an Excel (import data) funtion using AcuODBC
| driver will populate a spreadsheet with the "cobol data" from a Unix
| system. I need to Automate this so it runs once a month automatically.
| Can someone offer suggestions/sample of a step to accomplish this.
| Thanks
|


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Automate an Excel process

You're welcome.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"msnate" wrote:
| Sounds great and 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
way to automate this process rodchar Excel Discussion (Misc queries) 4 June 26th 09 06:52 PM
Macro to automate process Journey Excel Discussion (Misc queries) 0 June 13th 08 02:53 PM
need to automate process sand Excel Discussion (Misc queries) 3 August 3rd 07 06:20 PM
Automate deletion process JanM Excel Worksheet Functions 4 June 13th 07 09:54 PM
How to automate process of replacing values? J. Gutierrez Excel Discussion (Misc queries) 5 November 3rd 05 10:29 PM


All times are GMT +1. The time now is 04:29 AM.

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

About Us

"It's about Microsoft Excel"