Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created code to insert a chart into an excel worksheet, but the
placement is not exactly where I would like to see it. I would like to be able to give the chart an absolute position such as Cell A1. Does anyone know how I can do this? Thanks in advance for your assistance. jasonm |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try code like
With ActiveSheet.ChartObjects(1) .Top = Range("A1").Top .Left = Range("A1").Left End With "Jasonm" wrote in message ... I have created code to insert a chart into an excel worksheet, but the placement is not exactly where I would like to see it. I would like to be able to give the chart an absolute position such as Cell A1. Does anyone know how I can do this? Thanks in advance for your assistance. jasonm |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chip, Thanks for the direction! That did the trick.
I am fairly new to using VBS in excel... I do it in access quite a bit, but... I am trying to make a wokrsheet that will display any chart that the user wants at the touch of a button. This gets me one step closer! Thanks again. Jasonm "Chip Pearson" wrote in message ... Try code like With ActiveSheet.ChartObjects(1) .Top = Range("A1").Top .Left = Range("A1").Left End With "Jasonm" wrote in message ... I have created code to insert a chart into an excel worksheet, but the placement is not exactly where I would like to see it. I would like to be able to give the chart an absolute position such as Cell A1. Does anyone know how I can do this? Thanks in advance for your assistance. jasonm |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to change position of chart labels on line chart | Charts and Charting in Excel | |||
Office 07 Excel chart title position | Charts and Charting in Excel | |||
2003 Excel Radar Chart Data Label Position | Excel Discussion (Misc queries) | |||
Excel 2003 Line Chart - Switch Axis Position | Charts and Charting in Excel | |||
Changing chart title changes position of chart | Excel Programming |