im having trouble with making a code that will extract data out of a sheet that ill have a varying range and turning it into a chart sheet. can someone help me out please or point me in the write direction.
tried this but dont know how to vary range
Sub test1()
Dim test As Chart
Set test = Charts.Add
End Sub
also tried this but dont know how to make it to chart sheet
Sub Macro1()
ActiveSheet.Shapes.AddChart2(227, xlLine).Select
Range(Range("B2"), Range("B2").End(xlDown)).Select
End Sub
tried this but dont know how to vary range
Sub test1()
Dim test As Chart
Set test = Charts.Add
End Sub
also tried this but dont know how to make it to chart sheet
Sub Macro1()
ActiveSheet.Shapes.AddChart2(227, xlLine).Select
Range(Range("B2"), Range("B2").End(xlDown)).Select
End Sub