Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just to add...
Chip Pearson has one for excel (I don't know if it works in different office applications, though). http://www.cpearson.com/excel/download.htm Look for XLConst Jim Thomlinson wrote: I have a spreadsheet that reads the constant values out of XL, Word and other MS apps. Regretably I do not have a link to MSProject. It is based on http://support.microsoft.com/kb/239930 I can send you a copy. You need the dll from VB6 to make it work. -- HTH... Jim Thomlinson "Dave Peterson" wrote: And to add to Jim's response.... I don't use Project, but when I need the value of an MSWord constant, I'll open MSWord. Go into its VBE, show the immediate window and type this: ?wdMarkupRectangle and see this returned: 2 If I have lots to look up, I'll go into the Object browser and search. JJ wrote: I have an Excel file that imports data from a Project file. However, the users could potentially be on two different versions of Project. With early binding this created a problem for those who used the earlier version of Project. Therefore, I removed the reference and used late binding. This now created a problem in a function where I used constants defined only in Project, but if there reference doesn't exist then the constants mean nothing. The function relies on these constants for it to work. Questions: 1) I want to continue to use the late binding method, but how do I allow my function to access the Project constants? 2) Is it possible to detect the version of Project that a user has installed and programmatically create the reference? Thanks in advance! -- Dave Peterson -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SAP Late Binding Problem | Excel Programming | |||
Late Binding examples of binding excel application | Excel Programming | |||
Excel Automation Problem with Late Binding | Excel Programming | |||
late binding onto Word problem | Excel Programming | |||
late binding in excel | Excel Programming |