#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default vbide

hello
If I need to create:
VBIDE.VBComponent
What do I need to reference inside of the Excel VBA?
I already have
Excel 11 object library
and
MS Office 11 object library

what else is needed?
thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default vbide

You don't NEED to have any specific reference. The following will work
without any additional references.


Const vbext_ct_StdModule = 1
Const vbext_ct_ClassModule = 2
Const vbext_ct_MSForm = 3
ThisWorkbook.VBProject.VBComponents.Add vbext_ct_StdModule

However, if you want to use the constants and data and object types,
reference the "Microsoft Visual Basic For Applications. Extensibility 5.3"
library. See www.cpearson.com/excel/vbe.htm for lots of information and
example code.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)



"greg" wrote in message
...
hello
If I need to create:
VBIDE.VBComponent
What do I need to reference inside of the Excel VBA?
I already have
Excel 11 object library
and
MS Office 11 object library

what else is needed?
thanks




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
Dim VBComp As VBIDE.VBComponent Jim Jackson Excel Programming 6 July 14th 06 09:12 PM
VBIDE.VBComponent michaelberrier Excel Discussion (Misc queries) 3 June 12th 06 05:47 PM
Programatically Unlocking a Project in the VBIDE Jim Thomlinson[_5_] Excel Programming 2 January 5th 06 10:07 PM
Late binding with VBIDE Tony Seiscons Excel Programming 2 September 26th 04 04:38 PM
can the VBIDE have its own macros? emily Excel Programming 1 August 14th 03 05:27 AM


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