My goal is to write a script that copies the values of cells and objects in one existing excel sheet, and transfers/pastes them to another existing excel sheet. Not a complete copy/paste, but selectively.
I have successfully written the script using XLOPEN, XLGetCell and XLSetCell. These work great for the cells but not for the content that is in controls.
Each sheet has a set of 10 drop down controls that have a value of a product id. I need to copy these values of the controls from one sheet to the other.
Can this be done with a VBScript routine, at the same time that I have these two files open with the XLOpen command?
something like: ActiveSheet.Shapes.Range(Array("ComboBox")).Value
Thanks,
Mike