Hello All.
I have a problem and I wonder if you folks can help me.

I have a PrintToExcel control I'm creating. I take the Control that is specified in the Program and Export its information to an Excel Spreadsheet.
Now I've got the Recordsets to work. But, I'm having trouble getting My OCX to recognize the other Controls. (I.e. Listview, Grid) I pass the name of the Control to my OCX as an object, because passing Listviews and Grids
as Listviews and Grids doesn't work, and when I try to change the Object back to a Control is gives me an Error ' Type Mismatch'.

Any help would be appreciated.

Thanks.
-Ray