floridagunner
Board Regular
- Joined
- Jul 20, 2007
- Messages
- 60
Hello,
I am running the following piece of code in my macro.
When I run the above code as a stand alone macro it always works as it should; ie. it selects all the data in the column below the active cell.
However when I'm running it as part of a larger macro instead of selecting the data below the activecell in column R it jumps to selecting all the data in column A.
Anybody have any ideas on how this can be fixed?
I am running the following piece of code in my macro.
Code:
Sub SelectData1()
Set mySelection = Range(ActiveCell, ActiveCell.End(xlDown))
mySelection.Select
End Sub
When I run the above code as a stand alone macro it always works as it should; ie. it selects all the data in the column below the active cell.
However when I'm running it as part of a larger macro instead of selecting the data below the activecell in column R it jumps to selecting all the data in column A.
Anybody have any ideas on how this can be fixed?