Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Setting up hashtable class module - tools procedure attributes dialog

Hash tables are eminently useful structures and I found one for VBA
(http://www.devx.com/vb2themax/Tip/19307) that I'm trying to use. I
have it mostly working but not quite completely. The instructions
say:

NOTE: must make Item the default member, using the Tools | Procedure
Attributes dialog

I haven't done this because I don't have a Tools | Procedure
Attributes dialog. I suspect this is the missing piece in the puzzle
that keeps this class from working completely.

Anyone know how I get to Tools | Procedure Attributes dialog for Excel
2003?

Alternatively if someone knows another hashtable module I would be
willing to try it as well.

Denis

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Setting up hashtable class module - tools procedure attributes dialog

The "modify procedure" menu item is in VB6 not in VBA. To make a property
the default, you need to export the module to a text file, edit some
Attributes (these are similar to compiler directives and will not appear in
the VBA editor), and the import the text file. Complete details are at

http://www.cpearson.com/excel/DefaultProperty.htm


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


"Denis" wrote in message
oups.com...
Hash tables are eminently useful structures and I found one for VBA
(http://www.devx.com/vb2themax/Tip/19307) that I'm trying to use. I
have it mostly working but not quite completely. The instructions
say:

NOTE: must make Item the default member, using the Tools | Procedure
Attributes dialog

I haven't done this because I don't have a Tools | Procedure
Attributes dialog. I suspect this is the missing piece in the puzzle
that keeps this class from working completely.

Anyone know how I get to Tools | Procedure Attributes dialog for Excel
2003?

Alternatively if someone knows another hashtable module I would be
willing to try it as well.

Denis



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Setting up hashtable class module - tools procedure attributes dialog

Other option is to buy VB6, which is worth it in any case, set the default
attribute and compile in VB6 and
then import the .cls file into your Excel project. Have just tried this with
the hash code from Balena and it
works fine.

RBS

"Chip Pearson" wrote in message
...
The "modify procedure" menu item is in VB6 not in VBA. To make a property
the default, you need to export the module to a text file, edit some
Attributes (these are similar to compiler directives and will not appear
in the VBA editor), and the import the text file. Complete details are at

http://www.cpearson.com/excel/DefaultProperty.htm


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


"Denis" wrote in message
oups.com...
Hash tables are eminently useful structures and I found one for VBA
(http://www.devx.com/vb2themax/Tip/19307) that I'm trying to use. I
have it mostly working but not quite completely. The instructions
say:

NOTE: must make Item the default member, using the Tools | Procedure
Attributes dialog

I haven't done this because I don't have a Tools | Procedure
Attributes dialog. I suspect this is the missing piece in the puzzle
that keeps this class from working completely.

Anyone know how I get to Tools | Procedure Attributes dialog for Excel
2003?

Alternatively if someone knows another hashtable module I would be
willing to try it as well.

Denis




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Setting up hashtable class module - tools procedure attributes dialog

On May 22, 1:56 pm, "Chip Pearson" wrote:
The "modify procedure" menu item is in VB6 not in VBA. To make a property
the default, you need to export the module to a text file, edit some
Attributes (these are similar to compiler directives and will not appear in
the VBA editor), and the import the text file. Complete details are at

http://www.cpearson.com/excel/DefaultProperty.htm


After poking around some more I found some info on the Dictionary
object and in particular at your website
http://www.cpearson.com/excel/Collec...ctionaries.htm. It
looks like this object should be sufficient for my needs and it's a
more standard way to go.

Denis

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
How to jump from a Form procedure to a Workbook or Module procedure? T. Erkson Excel Programming 4 January 25th 07 07:15 PM
Problems Setting properties of class module Andibevan[_4_] Excel Programming 2 October 2nd 05 01:44 PM
Class Module for setting Automatic Calc GregR Excel Programming 6 May 6th 05 12:21 AM
Variable from a sheet module in a class module in XL XP hglamy[_2_] Excel Programming 2 October 14th 03 05:48 PM
setting procedure attributes Chip Pearson Excel Programming 0 September 3rd 03 02:18 PM


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