What Use Is Enum In Excel Vba?

Maybe I’m lacking vision here, but Enum seems better suited to VB.Net than VBA. A variable dimmed to the Enum type will store a number corresponding to the type you designate, but to use that value, you have to keep going back to see what it represents. Or am I missing something?

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Author: admin (online) on December 21, 2009
Category: Excel Macros , Formula & Other VBA Codes
Tags: , ,
2 responses to “What Use Is Enum In Excel Vba?”
  1. Anonymous says:

    You can only use an Enum statement at module level. Try designating types outside a procedure.

Leave a Reply

Last articles