PC Review


Reply
Thread Tools Rate Thread

Create VBA Function/Sub programatically within Excel VBA

 
 
=?Utf-8?B?cmFlbF9sdWNpZA==?=
Guest
Posts: n/a
 
      28th Sep 2007
Hi,

Is it possible to create a VBA function or subroutine within Excel VBA?

ie: I have a spreadsheet which has a number of functions in it. One of the
functions involves creating a new spreadsheet (in a new file), based on some
of the data in the original sheet. I now need to include a function in this
new spreadsheet.

Is this possible?

Rael
 
Reply With Quote
 
 
 
 
=?Utf-8?B?bWFyaw==?=
Guest
Posts: n/a
 
      28th Sep 2007
yes, look at Chip Pearson's site

www.cpearson.com

under "Programming to the VBE"

He has a nice page on how to add code to your files, through code.



"rael_lucid" wrote:

> Hi,
>
> Is it possible to create a VBA function or subroutine within Excel VBA?
>
> ie: I have a spreadsheet which has a number of functions in it. One of the
> functions involves creating a new spreadsheet (in a new file), based on some
> of the data in the original sheet. I now need to include a function in this
> new spreadsheet.
>
> Is this possible?
>
> Rael

 
Reply With Quote
 
=?Utf-8?B?cmFlbF9sdWNpZA==?=
Guest
Posts: n/a
 
      28th Sep 2007
Thanks Mark... the resource looks excellent.

Rael

> yes, look at Chip Pearson's site
>
> www.cpearson.com
>
> under "Programming to the VBE"
>
> He has a nice page on how to add code to your files, through code.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Create Function using Excel VBA Dave Peterson Microsoft Excel Programming 3 4th Jan 2007 09:25 PM
How Do I Create an Excel 2007 Workbook Programatically =?Utf-8?B?TWFyayBXLiBSb2JiaW5z?= Microsoft Excel Programming 0 3rd Jun 2006 08:39 AM
Mapland Excel Addin - Programatically Create 1000 distinct maps Rich Cooper Microsoft Excel Programming 1 27th Jul 2004 06:07 AM
Mapland Excel Addin - Programatically Create 1000 distinct maps Rich Cooper Microsoft Excel Misc 3 27th Jul 2004 06:07 AM
Can I create a function in Excel? =?Utf-8?B?Sm9zZQ==?= Microsoft Excel Misc 1 22nd Jul 2004 07:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:35 AM.