msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using VB to write VB

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
WalterBillington



Joined: 13 Oct 2007
Posts: 1

PostPosted: Fri Oct 12, 2007 6:55 pm    Post subject: Using VB to write VB Reply with quote

Hey

I use VB in Excel in a financial forecasting context. One of the things I
want to be able to do, but can't figure out, is (1) install code into newly
created worksheets - i.e. so that on sheet deactivate the sheet deletes, and
(2) edit code in modules - i.e. the VB would edit the code.

Any ideas?

Thanks


Walter

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
amdrit



Joined: 04 Oct 2007
Posts: 8

PostPosted: Fri Oct 12, 2007 2:02 pm    Post subject: Re: Using VB to write VB Reply with quote

The newsgroup that you want is microsoft.public.excel.programming

To access the VBA code in excel, you can make use of Application.VBE

To work with the worksheets, you can make use of Application.Workbooks,
Activeworkbook.Sheets



"WalterBillington" wrote in message @uwe...
> Hey
>
> I use VB in Excel in a financial forecasting context. One of the things I
> want to be able to do, but can't figure out, is (1) install code into
> newly
> created worksheets - i.e. so that on sheet deactivate the sheet deletes,
> and
> (2) edit code in modules - i.e. the VB would edit the code.
>
> Any ideas?
>
> Thanks
>
>
> Walter
>
Back to top
View user's profile Send private message
WalterBillingham via VBMo



Joined: 14 Oct 2007
Posts: 1

PostPosted: Sun Oct 14, 2007 6:16 pm    Post subject: Re: Using VB to write VB Reply with quote

Good one - many thanks, that led me to where I wanted to go!

amdrit wrote:
>The newsgroup that you want is microsoft.public.excel.programming
>
>To access the VBA code in excel, you can make use of Application.VBE
>
>To work with the worksheets, you can make use of Application.Workbooks,
>Activeworkbook.Sheets
>
>> Hey
>>
>[quoted text clipped - 10 lines]
>>
>> Walter

--
Message posted via VBMonster.com
http://www.vbmonster.com/Uwe/Forums.aspx/vb-ent/200710/1

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group