LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 with two windows in Windows 7 Bob Excel Discussion (Misc queries) 0 January 15th 10 02:20 PM
Excel 2007 & Windows Explorer JWhitehead Excel Discussion (Misc queries) 0 June 3rd 09 08:37 PM
Opening Excel in 2 different windows 2007 tge Excel Discussion (Misc queries) 1 January 18th 08 10:22 AM
separate windows in excel 2007 Jim Rech Excel Discussion (Misc queries) 1 June 21st 07 07:23 PM
Excel 2007 Class jcliquidtension Excel Programming 1 February 5th 07 10:14 PM


All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"