Click to See Complete Forum and Search --> : How Do I???


grousedog
February 3rd, 2000, 10:38 AM
How do I call methods on an ActiveX control in VB?
I have plance the control in an Excel Spreadsheet and I want to get the current value of the control...specifically the date and assign it to a cell. I am confused about the LinkedCell property and how/if I can use this. Thanks

Weasel
February 9th, 2000, 10:04 AM
Are you wanting to access an activeX controls methods or open en Excel file?

Use DAO top open Excel, rather than embedding it in an object.

5 methods showed for the Workseets in Excel:
Drag, Move, SetFocus, ShowWhatsThis, ZOrder
To use SetFocus, if the embedded object was Sheet1 you would use:
Sheet1.SetFocus

On typing the object name and hitting . a list should come up, anything with an
icon like that for SetFocus is a method, and can be used the same way