Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I have this code in a userform (in the Ok button):
Private Sub CommandButton1_Click() ActiveChart.PageSetup.ChartSize = xlScreenSize ActiveChart.ChartArea.Height = CLng(TextBox1) ActiveChart.ChartArea.Width = CLng(TextBox2) End End Sub when I select the chart and run the macro the following error occurs: Run-time error '1004': Unable to set the height property of the ChartArea class. I have no Idea why is this happening; I chacked everithing and it still not runing Any suggestion TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Chart Data Point Size Changing ? | Charts and Charting in Excel | |||
Changing Chart Size with Excel 2007 | Excel Programming | |||
Changing Chart Location Problems | Charts and Charting in Excel | |||
Problems changing Embedded Chart Name | Excel Programming | |||
Changing Excel Chart Size | Excel Programming |