Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

XLconstant

Posted on 2003-10-31
1
Medium Priority
?
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

715 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