Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Load VB Code every time Excel opens

I have a chunck of VB code that I want to be loaded every time MS Excel 2003
is loaded and it can be run from a custom button from a menu bar.

How can I achieve this?

At present I have to open a csv file that has been created from another
application and then run this code from a module within a saved excel sheet.
Although this works it opens a excel sheet every time and can become messy.

Thanks in advance

Wayne
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Load VB Code every time Excel opens

Wayne,

The easiest way is to put your code in an add-in and select the add-in under
Tools, Add-ins. It will always load. Within the add-in you can create a
toolbar button and menu entry that will also load to give you access to your
routine.

Robin Hammond
www.enhanceddatasystems.com

"Wayne_Perth_WA" wrote in message
...
I have a chunck of VB code that I want to be loaded every time MS Excel
2003
is loaded and it can be run from a custom button from a menu bar.

How can I achieve this?

At present I have to open a csv file that has been created from another
application and then run this code from a module within a saved excel
sheet.
Although this works it opens a excel sheet every time and can become
messy.

Thanks in advance

Wayne



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Load VB Code every time Excel opens


Hi Wayne,

Check the following link to a previous post of mine; it may be what
you're looking for:
http://www.excelforum.com/showthread...480#post968480

Hope this helps,
theDude


--
theDude
------------------------------------------------------------------------
theDude's Profile: http://www.excelforum.com/member.php...o&userid=16550
View this thread: http://www.excelforum.com/showthread...hreadid=375848

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
when i double click on an excel file, excel opens but nothing load spiky_80 Excel Discussion (Misc queries) 1 January 30th 08 12:48 AM
Load form when workbook opens [email protected] Excel Discussion (Misc queries) 2 July 19th 06 03:32 AM
Excel Help takes a very long time to load Sam Pack via OfficeKB.com Excel Discussion (Misc queries) 4 March 4th 06 12:02 AM
Add-In to load when Excel opens? dutty Excel Programming 3 January 6th 05 03:15 PM
Excel Workbook opens after a very very long time Excel Worksheet Functions 2 December 18th 04 11:15 AM


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