SaraWitch
Active Member
- Joined
- Sep 29, 2015
- Messages
- 321
- Office Version
- 365
- Platform
- Windows
Hello everyone,
I have a couple of macro buttons that go to a specific cell further down the worksheet when clicked. However, if rows are added and deleted, the range doesn't change with the updates and I want to be able to select the original range regardless of row changes. Hope that makes sense! I'm using the following code in VBA:
I'm sure there's a simple way of doing it, but I just can't figure it out! I've tried absolutes, but, of course, they don't work.
Any help would be appreciated...
I have a couple of macro buttons that go to a specific cell further down the worksheet when clicked. However, if rows are added and deleted, the range doesn't change with the updates and I want to be able to select the original range regardless of row changes. Hope that makes sense! I'm using the following code in VBA:
Sub RoundedRectangle1_Click()
ActiveSheet.Range("B10").Select
End Sub
I'm sure there's a simple way of doing it, but I just can't figure it out! I've tried absolutes, but, of course, they don't work.
Any help would be appreciated...