Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
I want to create a macro that I can run on various sheets. All these sheets have the same format but different data. I created the macro and opened it with microsoft visual basic. The problem is the '=Sheets()' command that selects the sheet that i used to record the data. How do I change it so it just runs on the active sheet? ActiveChart.SetSourceData Source:=Sheets("S&P").Range("A4:A13,C4:C13"), Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro color change | Excel Worksheet Functions | |||
macro to change the names and delete closed books | Excel Discussion (Misc queries) | |||
how do i change the expense statement template macro | Excel Worksheet Functions | |||
Where to stick macro to change default comment font? | Excel Discussion (Misc queries) | |||
Macro button colour change??? | Excel Worksheet Functions |