Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Zoom problem with shapes in Excel 2007

Hi,

I have a tool in excel/VBA that draws shapes on the sheets based on the
information found.

When I run the same tool in 2007, the shapes are all in the wrong place,
because contrary to previous versions, Excel 2007 does not take the zoom
setting into account. As a result, previously, the coordinates of cells and
shapes were the same.
Now, the coordinate system of shapes is relative to the window position
instead of the window content. This means that shapes are always drawn on the
same place of your screen, independant of the zoom. Only when the zomm is
100%, the coordinates are OK.

also, when I run the tool in 2003 (shapes placed OK), save and open in 2007,
the shapes are not in the correct place any more, they moved.

Does anybody know more about this issue? Is there a setting which governs
this?
Is this a documented bug?

thanks,
Christof
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Zoom problem with shapes in Excel 2007

Don,

I have the same problem as Christof and the solution you propose doesn't
work for me.
I have around 46 textboxes placed to each other and the first 40 are
displayed correctly, but then the other six are just placed upon the last one.
I checked the coordinates and they're ok.
I tried the following:
myS.Placement = xlFreeFloating
myS.Placement = xlMove
myS.Placement = xlMoveAndSize

But none of the three options above gave me a good result at 50% zoom.
When the zoom is 100%, evertything is OK.

I can set the zoom at 100% at the beginning and afterwards back to the zoom
it was, but that's a workaround, NOT a solution.

Any other ideas?

Thanks,
Alain

"Don Guillett" wrote:


Change properties to

not move or size

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Christof" wrote in message
...
Hi,

I have a tool in excel/VBA that draws shapes on the sheets based on the
information found.

When I run the same tool in 2007, the shapes are all in the wrong place,
because contrary to previous versions, Excel 2007 does not take the zoom
setting into account. As a result, previously, the coordinates of cells
and
shapes were the same.
Now, the coordinate system of shapes is relative to the window position
instead of the window content. This means that shapes are always drawn on
the
same place of your screen, independant of the zoom. Only when the zomm is
100%, the coordinates are OK.

also, when I run the tool in 2003 (shapes placed OK), save and open in
2007,
the shapes are not in the correct place any more, they moved.

Does anybody know more about this issue? Is there a setting which governs
this?
Is this a documented bug?

thanks,
Christof



Reply
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 Zoom and Page Break Preview tjstar Excel Discussion (Misc queries) 1 December 7th 10 08:41 PM
Size of Shapes changes when the Zoom level changes Curtis Excel Discussion (Misc queries) 5 May 1st 08 10:30 PM
Excel Zoom Problem VFortin Excel Discussion (Misc queries) 2 September 5th 07 08:17 PM
problem with shapes.nodes collection in excel 2007 [email protected] Excel Programming 3 December 12th 06 01:27 PM
Excel 2007 beta - Zoom Suggestion Julian Excel Discussion (Misc queries) 0 September 30th 06 11:09 AM


All times are GMT +1. The time now is 10:11 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"