Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default setting procedure attributes

William,

Export the class file to a text file, edit that file in Notepad or your
favorite text editor, and modify the code so it looks like the following:

Public Property Get NewEnum() As IUnknown
Attribute NewEnum.VB_UserMemId = -4
Set NewEnum = mCol.[_NewEnum]
End Property

Then, import the cls file back in to your VBProject.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com


"William H. Burling" wrote in message
ink.net...
I am in a VBA (excel 2000) environment....which does not have an item in

the
tools drop down list box which allows me to set procedure attributes which

I
need to do for NewEnum(procedureID needs to be set
at -4). Does anybody know how to do that in an VBA environment?








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
Stop a Procedure from another procedure Ayo Excel Discussion (Misc queries) 1 October 30th 08 01:42 AM
ATTRIBUTES UNION HELP Excel Discussion (Misc queries) 0 March 10th 08 07:32 PM
Data value display attributes linked to table attributes MDT at Paragon Home Inspections, LLC Charts and Charting in Excel 0 November 15th 06 12:53 AM
Setting character attributes in a text string Greg Neill Excel Worksheet Functions 1 June 15th 05 08:47 PM


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