T
TBA
Excel 97
Windows 2k Pro
I have a command button on sheet2 that needs to do some "stuff" on sheet1
and then copy said "stuff" back onto sheet2. This is a stripped down
example of code for my command button on sheet2:
Private Sub cmd_RankBest_Click()
Worksheets("Sheet1").Select
Range("A1:Q36").Select 'selecting a range on sheet1
End Sub
But, I'm getting a run-time error '1004':
Select method of Range class failed
Is my code flawed?
Any insights greatly appreciated.
-gk-
Windows 2k Pro
I have a command button on sheet2 that needs to do some "stuff" on sheet1
and then copy said "stuff" back onto sheet2. This is a stripped down
example of code for my command button on sheet2:
Private Sub cmd_RankBest_Click()
Worksheets("Sheet1").Select
Range("A1:Q36").Select 'selecting a range on sheet1
End Sub
But, I'm getting a run-time error '1004':
Select method of Range class failed
Is my code flawed?
Any insights greatly appreciated.
-gk-