I was having some issues with a few of these examples. Im running VB.NET and Im trying to use the Excel 10.0 Object Library. It may be because its 10.0 and not 9.0, but anyway....
Here is the piece code that isnt working for me.
When I perform the select in my app, and try to referance the application object.selection I have no options. You know how the drop down list of functions comes down, the only function I would have for EXL.Selection is getType(). Ive found some ways around this, however, there are certain functions I have not figured out. Like setting the columns to autofit depending on the text in the cells.
Here is the piece code that isnt working for me.
Code:
.Range("A2:E2").Select()
With EXL.Selection.Font
.Name = "Verdana"
.FontStyle = "Bold"
.Size = 12
End With
When I perform the select in my app, and try to referance the application object.selection I have no options. You know how the drop down list of functions comes down, the only function I would have for EXL.Selection is getType(). Ive found some ways around this, however, there are certain functions I have not figured out. Like setting the columns to autofit depending on the text in the cells.