excel 2007 windows class name

C

carlos

Hi

apparently embedded chart in excel 2007 have hidden windows classname.

I have this piece of code, what I use for position forms over the worksheet

hWndXL = FindWindow("XLMAIN", Application.Caption)
hWndXLDesktop = FindWindowEx(hWndXL, 0&, "XLDESK", vbNullString)
hWndXLChart = FindWindowEx(hWndXLDesktop, 0&, "EXCELE", vbNullString)

XLMAIN - EXCEL
XLDESK - Sheet Grid
EXCELE - Embedded Chart

someone knows a workaround for position forms exactily over a cell
independently of zoom and maximaze.

Thank's
 

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