Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to place multiple charts at specifice locations in a worksheet.
The chart locations depend on the column headers of the source data. My problem is that the range statement does not allow for variable cell references. I have tried several variations of Range. The only reference that works is the format "LetterNumber" as in Range("A1") Range(Cells(x,y)) does not work Range(Cells(x,y),Cells(x,y)) does not work Range("A" & x) does not work var1="a" & str(x) Range(var1) does not work. I need to increment the placement of the top left corner of each graph. Can anyone help ? Sheet8.Activate Set ChtObj = ActiveSheet.ChartObjects("MyChart") ChtObj.Top = Range(cells(p,q)).Top ChtObj.Left = Range(cells(p,q)).Left p=p+20 Loop |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Placing shapes exactly on charts. | Charts and Charting in Excel | |||
Need help with a tricky problem of placing a number within an array... | Excel Worksheet Functions | |||
Placing values in a range on a non-active sheet | Excel Programming | |||
Worksheet reference (i.e placing worksheet name in a cell) | Excel Worksheet Functions | |||
Reference range in formula problem | Excel Programming |