Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Installing someone elses UDF


Hi,

I am a VBA newbie and want to know how I go about installing a UDF that
someone has sent me the code for?

Is there an on-line idiot proof tutorial/explaination for this?

Is it complicated?

Dave


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Installing someone elses UDF

in a workbook, go to the VBE (Alt+F11)

do Insert=Module from the menu

Paste the UDF in the module.

Do Alt+F11 to return to excel.

Now you should be able to go to a cell and do

=Myfunction(arg1, arg2)

as an example.

--
Regards,
Tom Ogilvy

"DavidObeid" wrote in message
...

Hi,

I am a VBA newbie and want to know how I go about installing a UDF that
someone has sent me the code for?

Is there an on-line idiot proof tutorial/explaination for this?

Is it complicated?

Dave


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to

creating financial statements


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Installing someone elses UDF

Open your desired workbook
Press Alt + F11 (opens VBA)
Find your book in project explorer (on the right of the screen)
It should be something like VBAProject(YourBookName.xls)
Right click on it and choose Insert - Module
A code window should appear (if not find Module1 under your
project and double click it)
Paste your code into the window.
Close VBA

Dan E

"DavidObeid" wrote in message ...

Hi,

I am a VBA newbie and want to know how I go about installing a UDF that
someone has sent me the code for?

Is there an on-line idiot proof tutorial/explaination for this?

Is it complicated?

Dave


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Installing someone elses UDF


Thanks gents. One more question. Is there a way to make te UDF
available in other workbooks?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Installing someone elses UDF

Save the workbook containing the code as an addin (.xla). Then you can load
it under Tools=Addins, use the browse button to find it.

--
Regards,
Tom Ogilvy

DavidObeid wrote in message
...

Thanks gents. One more question. Is there a way to make te UDF
available in other workbooks?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to

creating financial statements




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Installing someone elses UDF


Thanks Tom,

You are a legend.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
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
Error when installing Add-ins Tinus Excel Discussion (Misc queries) 3 April 26th 05 06:16 PM
Installing MS Office [email protected] New Users to Excel 3 March 24th 05 04:29 PM
self-installing add-in? Mike[_37_] Excel Programming 5 August 22nd 03 04:42 PM
self-installing add-in? Mike[_37_] Excel Programming 0 August 20th 03 07:25 PM
self installing macro Erymuzuan Mustapa Excel Programming 0 August 13th 03 11:05 AM


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