← Back to Users
ernie13's activity in the archive.
Even the COM purist at Redmond break their own Law of "Inmutability". This is what's needed if you don't know which version of Excel you're working with: pXL.CreateInstance ("Excel.Application"); vt.vt = VT_BOOL; vt.boolVal = TRUE; #ifdef _EXCEL_9_OFFICE_2000_ pXL->PutVisible(0, vt); #else pXL->PutVisible( vt ); #endif - Ernie
Even the COM purist at Redmond break their
own Law of "Inmutability". This is what's needed
if you don't know which version of Excel
you're working with:
pXL.CreateInstance ("Excel.Application");
vt.vt = VT_BOOL;
vt.boolVal = TRUE;
#ifdef _EXCEL_9_OFFICE_2000_
pXL->PutVisible(0, vt);
#else
pXL->PutVisible( vt );
#endif
- Ernie