Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA - Launch VBA Macro From VB


Group,
I'm certainly no VB or VBA pro, but have a question that involves
both. Is it possible to launch a VBA macro from VB in the form of an
icon. My vision on this is, I could have these small icons or images
on my desktop that perform operations that I use daily. Basically
saving the time to first loading Excel and then running the macro. Why
not launch Excel and then the macro from one icon. Thank you in
advance.

Tony


--
ajocius
------------------------------------------------------------------------
ajocius's Profile: http://www.excelforum.com/member.php...o&userid=17695
View this thread: http://www.excelforum.com/showthread...hreadid=543261

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default VBA - Launch VBA Macro From VB

Why not just create a workbook with your macro in the Workbook_Open event
and just launch it by double-clicking that file?

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"ajocius" wrote in
message ...

Group,
I'm certainly no VB or VBA pro, but have a question that involves
both. Is it possible to launch a VBA macro from VB in the form of an
icon. My vision on this is, I could have these small icons or images
on my desktop that perform operations that I use daily. Basically
saving the time to first loading Excel and then running the macro. Why
not launch Excel and then the macro from one icon. Thank you in
advance.

Tony


--
ajocius
------------------------------------------------------------------------
ajocius's Profile:

http://www.excelforum.com/member.php...o&userid=17695
View this thread: http://www.excelforum.com/showthread...hreadid=543261



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA - Launch VBA Macro From VB


Excellent idea, thank you.

Tony


--
ajocius
------------------------------------------------------------------------
ajocius's Profile: http://www.excelforum.com/member.php...o&userid=17695
View this thread: http://www.excelforum.com/showthread...hreadid=543261

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
Macro launch - Button vs Manual launch , has different results. Wayne Excel Programming 4 February 23rd 05 11:33 AM
How do I Launch a Macro on a different sheet Pepe[_2_] Excel Programming 1 January 19th 04 03:15 PM
Can you use an IF statement to launch a macro? ian123[_34_] Excel Programming 3 January 3rd 04 12:38 AM
auto-launch a MACRO? d-cubed Excel Programming 4 December 22nd 03 10:10 PM
Launch Macro in Access via Macro running in Excel??? dgrant Excel Programming 1 September 24th 03 01:38 PM


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