Const values for late binding declarations

keith_shoaf

New Member
Joined
Oct 8, 2014
Messages
39
Hello Everyone! I am looking for a complete list, if it exists, of all MS Office application function’s constants values. I want to be able to use late binding, but in order to do so, I need to declare all application specific functions as a Const like in the example below.

  1. Const xlTemplate As Long = 17
  2. Const xlContinuous As Long = 1
  3. Const xlThin As Long = 2

and also like: xlWB.Selection.PasteSpecial Paste:=-4163, Operation:=-4142

I need to use late binding because within my organization, some people have Office 2010, and some have Office 2013. So if I use early binding when coding in Office 2013, folks using Office 2010 cannot execute the mirco-app due to libraries. Any help on where I can find the proper values for all functions is GREATLY APPRECIATED!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top