Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Module of VB sets as default on Excel

I create a module in vb for excel sheet and this works very perfectly. But
each time i want to use this module in any other workbook either new or
previously saved, i copy this module in vb for that workbook which is very
irritating for me.
I want to make this module as default as other formulas are in excel. So
that, whenever i need to use this module/formula, i just enter the formula
and my need will complete.
Please give me an answer so that i will make my module as default as other
formulas like sum, if, countif etc.
Regards and thanks in advance for my help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Module of VB sets as default on Excel

Instead of putting the code in a bunch of workbooks, you can create a workbook
that only holds that code.

Then you can use that code against any workbook.

Ron de Bruin explains it in detail he
http://www.rondebruin.nl/personal.htm

sohraaz wrote:

I create a module in vb for excel sheet and this works very perfectly. But
each time i want to use this module in any other workbook either new or
previously saved, i copy this module in vb for that workbook which is very
irritating for me.
I want to make this module as default as other formulas are in excel. So
that, whenever i need to use this module/formula, i just enter the formula
and my need will complete.
Please give me an answer so that i will make my module as default as other
formulas like sum, if, countif etc.
Regards and thanks in advance for my help.


--

Dave Peterson
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
Copy vb module in all excel sheets sohraaz Excel Discussion (Misc queries) 1 July 21st 07 03:16 PM
faulting module excel.exe gl3n2k3 Excel Discussion (Misc queries) 0 May 24th 07 01:05 AM
Display value in excel from module mniccole Excel Worksheet Functions 4 November 29th 06 04:20 PM
How do I unlock a module in Excel? frustrated nun Excel Discussion (Misc queries) 2 August 26th 06 05:01 PM
code in module A to not execute a Worksheet_SelectionChange sub of another module Jack Sons Excel Discussion (Misc queries) 4 December 11th 05 11:52 PM


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