Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

XLconstant

Posted on 2003-10-31
1
Medium Priority
?
237 Views
Last Modified: 2009-12-16
I'd like to know how retrieve name of XLconstant.
For example xlPie=5 and I want to retrieve xlPie by giving 5, like XLcst(5)="xlPie"
0
Comment
Question by:meciab
1 Comment
 
LVL 2

Accepted Solution

by:
wellilein earned 600 total points
ID: 9657664
I thinks these are Excel constants, not Access, am I right?
It's not possible to reverse the constants, because only the names are unique.

Some examples:
xlAllAtOnce = 2
xlAllChanges = 2
xlAdd = 2
xlArrowHeadStyleOpen = 2
Which one should be returned by asking for XLcst(2)?

If you want to reverse it anyway, you could use the list from http://techsupt.windowware.com/TS/T000001033005F9.html
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question