pbornemeier
Well-known Member
- Joined
- May 24, 2005
- Messages
- 3,915
Cell A1 contains the string: rgbAliceBlue
rgbAliceBlue is a built-in VBA constant with the numeric value of 16775408
In the VBE Immediate window if I enter ?rgbAliceBlue it shows the value: 16775408
Application.Evaluate("rgbAliceBlue") returns Error 2029 - Type mismatch
How can I extract the numeric value of a built-in excel constant using the name of a built-in excel constant?
rgbAliceBlue is a built-in VBA constant with the numeric value of 16775408
In the VBE Immediate window if I enter ?rgbAliceBlue it shows the value: 16775408
Application.Evaluate("rgbAliceBlue") returns Error 2029 - Type mismatch
How can I extract the numeric value of a built-in excel constant using the name of a built-in excel constant?