Pointers to objects?

I’m having to do a lot of such as:

MainWindow.ViewerTabbar1.MailHeaders.Cell(5,0) = "Attachments:"

Can I declare some kind of pointer so I could do something along these lines:

dim ptr as pointer ptr = MainWindow.ViewerTabbar1.MailHeaders ptr.Cell(5,0) = "Attachments:"

is MailHeaders a listbox ?
if so do

dim ptr as ListBox // <<<<<<<<<<<<<<<<<<<<<<<
ptr = MainWindow.ViewerTabbar1.MailHeaders
ptr.Cell(5,0) = “Attachments:”

Ha! Obvious really, I suppose.

Thanks.