brianfosterblack
Active Member
- Joined
- Nov 1, 2011
- Messages
- 251
On my 1Master Worksheet I want to go to the worksheet and cell referenced in Cell 1Master!Z6
I have used a formula to create a reference Muller!R1C1 (also tried a formula to create a reference Muller!A1) - Reference is based on the Worksheet name selected
I then used this code in my macro to got to this reference
This is not working although it does work in other older workbooks I have.
I am doing this as I have a form which shows me all the worksheets in my workbook. I select the worksheet from the form which then puts the formula into Z6 so I can go to cell A1 of the selected Worksheet.
Can anyone please help me? I am probably doing this all wrong
I have used a formula to create a reference Muller!R1C1 (also tried a formula to create a reference Muller!A1) - Reference is based on the Worksheet name selected
I then used this code in my macro to got to this reference
VBA Code:
Application.Goto Reference:=Range("1Master!Z6").Value
I am doing this as I have a form which shows me all the worksheets in my workbook. I select the worksheet from the form which then puts the formula into Z6 so I can go to cell A1 of the selected Worksheet.
Can anyone please help me? I am probably doing this all wrong