Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Launch Excel On Event?

OK, so this is not a VBA question and not even really an Excel question, so
if this is not the right place to pose the request, kindly point me in the
right direction!

I have a pretty jammin' desktop that I use for development and to run the
automation for my reports - most of which are in Excel. I often work offsite
and use my laptop and VPN connection to access the desktop.

I have automation that grabs my various source files from multiple locations
/ platforms but the timing of these files arriving is not consistent. I need
to get them into my reports as quickly as I can, so I constantly look for
ways to automate this process further!

The issue I am having right now is that I need to launch Excel (on my
desktop) when a certain event occours or a condition becomes true on the
computer and I'm not sure how to do that...

I don't want to simply schedule a task to run at a certian time for various
reasons. I just think it would be best to launch the application when I
"know" it will run successfully.

I guess the "old-school" method woud be to setup a TSR-Program, but I can't
find any info on how to do that and Windows Scheduler only deals with
date/time or login variables, so I don't see how I could make that work.

Any help is appreciated - thank you so much.

Later-
Ray

--
"Trying to make reports so easy... even a monkey could run ''em!"
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Launch Excel On Event?

You might get an answer out of the VB Scripting group -
microsoft.public.scripting.vbscript. I know I've seen questions
similar to yours there, along with some answers. Just be sure to
explain what condition or event you are looking for as the trigger to
opening Excel.

HTH...Jen

On Aug 13, 10:37*am, RayportingMonkey
wrote:
OK, so this is not a VBA question and not even really an Excel question, so
if this is not the right place to pose the request, kindly point me in the
right direction!

I have a pretty jammin' desktop that I use for development and to run the
automation for my reports - most of which are in Excel. I often work offsite
and use my laptop and VPN connection to access the desktop.

I have automation that grabs my various source files from multiple locations
/ platforms but the timing of these files arriving is not consistent. I need
to get them into my reports as quickly as I can, so I constantly look for
ways to automate this process further!

The issue I am having right now is that I need to launch Excel (on my
desktop) when a certain event occours or a condition becomes true on the
computer and I'm not sure how to do that...

I don't want to simply schedule a task to run at a certian time for various
reasons. I just think it would be best to launch the application when I
"know" it will run successfully.

I guess the "old-school" method woud be to setup a TSR-Program, but I can't
find any info on how to do that and Windows Scheduler only deals with
date/time or login variables, so I don't see how I could make that work.

Any help is appreciated - thank you so much.

Later-
Ray

--
"Trying to make reports so easy... even a monkey could run ''em!"


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Launch Excel On Event?

Thanks for the suggestion - this more or less came from
"microsoft.public.scripting.vbscript"

openexcel

Sub openexcel()

MsgBox "Start"

Dim xlObj

Set xlObj = CreateObject("excel.application")
xlObj.Workbooks.Open "C:\Folder\FileName.xls"
xlObj.Run "MacroName"
xlObj.ActiveWorkbook.Saved = True
xlObj.ActiveWindow.Close
xlObj.Quit
Set xlObj = Nothing

MsgBox "End"

End Sub


--
"Trying to make reports so easy... even a monkey could run ''em!"

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
Launch Click Event Using Application.Run cellist Excel Discussion (Misc queries) 4 November 5th 09 12:46 AM
How to launch one XLA from another on Excel launch levka Excel Programming 1 July 25th 05 04:22 AM
Want to launch Excel from C# app Stefani[_2_] Excel Programming 2 March 18th 05 05:44 PM
Macro launch - Button vs Manual launch , has different results. Wayne Excel Programming 4 February 23rd 05 11:33 AM
Launch a Sub Worksheet_Change Event from inside a macro Rolo[_3_] Excel Programming 1 November 9th 03 12:02 PM


All times are GMT +1. The time now is 01:08 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"