Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code:
Sub cutpasteseries() Dim myCell As Range Selection.Copy Sheets("Finished Results").Select Set myCell = Range("A65536").End(xlUp)(2) myCell.PasteSpecial Paste:=xlPasteValues, _ Operation:=xlNone, _ SkipBlanks:=False, _ Transpose:=False Application.CutCopyMode = False Range(myCell(0), Range("B65536").End(xlUp)(1, 0)).Select Selection.DataSeries Type:=xlLinear, Step:=1 Range(myCell, Range("A65536").End(xlUp)).EntireRow.Select Selection.Copy End Sub It does what it is supposed to do (copy the highlighted cells, to "Finished Results" and then fill col A down from the results in A from the row above. but I need to have it fill down in column BZ as well as A Both from the row above the paste How would I modify this? know that it is this section Range(myCell(0), Range("B65536").End(xlUp)(1, 0)).Select 'mycell(0) needs to be mycell(0,78) but I am not sure about the rest.. Selection.DataSeries Type:=xlLinear, Step:=1 Range(myCell, Range("A65536").End(xlUp)).EntireRow.Select Thanks! Bruce |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
BruceJ wrote:
but I need to have it fill down in column BZ as well as A Both from the row above the paste How would I modify this? know that it is this section Range(myCell(0), Range("B65536").End(xlUp)(1, 0)).Select 'mycell(0) needs to be mycell(0,78) but I am not sure about the rest.. Selection.DataSeries Type:=xlLinear, Step:=1 Range(myCell(0,78), Range("B65536").End(xlUp)(1,77).Select Selection.DataSeries Type:=xlLinear, Step:=1 Bill Manville MVP - Microsoft Excel, Oxford, England No email replies please - reply in newsgroup |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Modifying If Statement | Excel Worksheet Functions | |||
modifying countifs | Excel Worksheet Functions | |||
Help Modifying this Formula .... | New Users to Excel | |||
help Modifying | Excel Worksheet Functions | |||
Modifying Code that deletes a Row | Excel Programming |