Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
PO PO is offline
external usenet poster
 
Posts: 66
Default ShowWindow problem

Hi

I use an embedded chart in a worksheet to display some revenue data. Below
the chart is a large table with data which the user can filter. After the
filter is set I want the user to be able to temporarily see the chart in a
full screen mode. I use the following code:

Sub DisplayChartInLargeWindow()
ActiveSheet.ChartObjects(1).Activate

With ActiveChart
.ChartArea.Select
.ShowWindow = True
End With

ActiveWindow.Caption = "Revenue"
End Sub

The only problem is that the window which dispays the chart has the exact
same size as the embedded chart. Any attempts to resize the window using
code have failed.

For instance "ActiveWindow.WindowState = xlMaximized" will have no effect on
the window displaying the chart.

What am I doing wrong?
Pete


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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
ShowWindow and reposition/resize after selecting an embedded chart InfiniteJoy Excel Programming 1 April 29th 06 03:48 AM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? OCI Excel Programming 0 May 16th 04 10:40 PM


All times are GMT +1. The time now is 12:03 AM.

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

About Us

"It's about Microsoft Excel"