Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
All the Excel constants are declared as Longs (Enums) in the
Excel typelib, so go with As Long. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "RB Smissaert" wrote in message ... For a VB6 ActiveX dll I had to declare some xl Constants. Does it matter which of the following 3 ways you choose? Const xlUp as long = -4162 Const xlUp as Integer = -4162 Const xlUp = -4162 It looks the datatype is Integer but I am not sure. RBS |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Constants in Excel | Excel Discussion (Misc queries) | |||
vba constants for excel | Excel Discussion (Misc queries) | |||
Declaring Constants that can be used throughout the Workbook :) | Excel Programming | |||
Declaring array constants at module level | Excel Programming | |||
declaring constants from the sheet? | Excel Programming |