Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Triggering Excel Macro from MS-Project

I have been trying to run an excel macro from a MS-Project VBA macro. I can
activate Excel and bring it to the foreground, but I cannot get the macro to
run.

Any ideqas on how to make this work? I have tried the examples for
word/access/powerpoint but none of the code works.

JEff


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Triggering Excel Macro from MS-Project

Hi Buster

can you put your excel macro in the Workbook_Open prodecure and use project
to open the excel workbook and then the macro will fire "automatically".

Cheers
JulieD

"Buster" wrote in message
...
I have been trying to run an excel macro from a MS-Project VBA macro. I can
activate Excel and bring it to the foreground, but I cannot get the macro
to
run.

Any ideqas on how to make this work? I have tried the examples for
word/access/powerpoint but none of the code works.

JEff




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Triggering Excel Macro from MS-Project

Jeff,

Don't have MS-Project to check, but I assume it supports automation.

You should be able to do Application.Run as normal. Can you post your code?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Buster" wrote in message
...
I have been trying to run an excel macro from a MS-Project VBA macro. I

can
activate Excel and bring it to the foreground, but I cannot get the macro

to
run.

Any ideqas on how to make this work? I have tried the examples for
word/access/powerpoint but none of the code works.

JEff




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
Function triggering a macro Leon Excel Worksheet Functions 1 December 22nd 05 07:26 AM
Daily Macro Triggering JB2010 Excel Discussion (Misc queries) 2 November 2nd 05 04:28 PM
Excel Macro exporting to MS-Project 2002 No Name Excel Programming 0 June 2nd 04 06:59 PM
Triggering Macro Execution Peter M[_3_] Excel Programming 1 January 12th 04 08:20 PM
Triggering an Excel macro on press of SAVE darshan Excel Programming 2 December 15th 03 04:57 AM


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

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"