excel object late binding

Signo.X

Well-known member
Joined
Aug 21, 2006
Messages
76
Location
Australia
Programming Experience
1-3
when using late binding to manipulate an excel document , do i need to add a reference to the library ' 'MS Excel object library 11.0' in my project ?

~signo.X:confused:
 
No you don't do that. (unless you code some early bind first and change it later to Object and late bind, you should make copies of project if you want to do this anyway)
 
but it gives me errors when i try to use some of the Excel.chart properties..
e.g.
'select chart type
oChart.ChartType = XlChartType.xlColumnClustered

how do i fix that ?
 
You have to replace Excel's built-in constants with integer equivalents or declare them yourself. Late binding don't come easy.
 
Back
Top