set focus to an excel cell from word

H

hanyu.chuang

Let's say I have a simple excel.workbook object in word VBA, like

set someWorkbook = GetObject("somefile.xls")

is it possible to write a simple sub that opens Excel, opens up the
somefile.xls, and set user focus to a specific cell, like

SetFocusToExcelCell "B5", someWorkbook

????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top