Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tay Tay is offline
external usenet poster
 
Posts: 3
Default convert number to word

After I have created the NumberAsText in one spreadsheet, how do I enable the
same to be used in other spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default convert number to word

You would be best of placing the code into your Personal.xls file which will
open whenever Excel is opened.

The code will work on whichever workbook is active.

Or place the code into a new workbook and save as an Add-in which you would load
through ToolsAdd-ins.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 09:22:03 -0700, Tay wrote:

After I have created the NumberAsText in one spreadsheet, how do I enable the
same to be used in other spreadsheet?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default convert number to word

After I have created the NumberAsText in one spreadsheet, how
do I enable the same to be used in other spreadsheet?


You could File/Export the module you placed this function in from the VBA
IDE; then, in subsequent macros, you can File/Import the module into your
any new spreadsheet's VBA project that needs it.

Rick

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tay Tay is offline
external usenet poster
 
Posts: 3
Default convert number to word

where can I find the Personal.xls. I am using excel 2003.

"Gord Dibben" wrote:

You would be best of placing the code into your Personal.xls file which will
open whenever Excel is opened.

The code will work on whichever workbook is active.

Or place the code into a new workbook and save as an Add-in which you would load
through ToolsAdd-ins.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 09:22:03 -0700, Tay wrote:

After I have created the NumberAsText in one spreadsheet, how do I enable the
same to be used in other spreadsheet?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default convert number to word

You may not have one.

If you never recorded a macro to your Personal Macro Workbook you won't.

Start up Excel and any workbook.

ToolsMacroRecord new macro.

When the record macro dialog opens select "Personal Macro Workbook" from "store
in" dropdown.

Do a couple of things like copy a cell from one place to another or similar.

Hit the stop recording button. Do not hit the "x" to stop recording.

You now have a Personal.xls stored in your Office XLSTART folder.

It will open hidden whenever Excel starts.

Your macros will be stored in there.

Hit Alt + F11 then CTRL + r to see the Personal.xls workbook and its modules.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 11:12:04 -0700, Tay wrote:

where can I find the Personal.xls. I am using excel 2003.

"Gord Dibben" wrote:

You would be best of placing the code into your Personal.xls file which will
open whenever Excel is opened.

The code will work on whichever workbook is active.

Or place the code into a new workbook and save as an Add-in which you would load
through ToolsAdd-ins.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 09:22:03 -0700, Tay wrote:

After I have created the NumberAsText in one spreadsheet, how do I enable the
same to be used in other spreadsheet?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 229
Default convert number to word

Follow this procedure which i received from Mr. Biff
How to store this UDF as an ADDIN


Basically, it's the same process but you give the file a different file
extension and you save it to a different location. Although you can save it
to other locations MS has a location just for add-ins. Notice I didn't use
the words have to or special. I don't want to argue about semantics with
anyone!

I'll describe the procedure from the very beginning.

Start Excel
It opens with the default file name of Book1
Hit ALT F11, this will open the VB editor
Hit CTRL R, this will open the project explorer pane on the left side of the
window
Look for VBAProject(Book1) in the explorer pane
Select it, then right click
Select InsertModule
Paste your UDF code in the window that opens on the right
Hit ALT Q to return to Excel
Now, save the file and name it Personal.xla. You should save the file to the
directory named AddIns. I'm using Windows XP with Excel 2002. The
path to my AddIns directory is:

C:\Documents and Settings\User\Application Data\Microsoft\AddIns

Now close Excel. Wait a minute or two then reopen Excel.
You need to load the add-in
Goto the menu ToolsAdd-Ins
You should see the Personal.xla file listed.
Select Personal.xla then click OK
You should be good to go!

Now, you can use this function just like any other function:

=MyFunction(...)


--
Biff
Microsoft Excel MVP


"Tay" wrote:

After I have created the NumberAsText in one spreadsheet, how do I enable the
same to be used in other spreadsheet?

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
Convert number to word RKS Excel Discussion (Misc queries) 5 January 14th 14 09:57 AM
convert number to word hitesh Excel Discussion (Misc queries) 1 September 5th 06 09:08 PM
HOW CAN I CONVERT NUMBER TO WORD ROHIT Excel Discussion (Misc queries) 3 September 1st 06 03:32 PM
how to convert number in word in a xls Ajaynagpur Excel Worksheet Functions 2 July 5th 06 04:11 PM
convert a number in word mahbub Excel Discussion (Misc queries) 1 June 12th 06 11:17 AM


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