ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   excel 2007 windows class name (https://www.excelbanter.com/excel-programming/397149-excel-2007-windows-class-name.html)

carlos

excel 2007 windows class name
 
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




All times are GMT +1. The time now is 11:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com