Sweetmusic1
New Member
- Joined
- Dec 1, 2014
- Messages
- 6
I created Checkbox Code that when checked, it brings me to the related worksheet and expands the rows. I want it to ONLY expand the row in the related worksheet and not actually bring me there. What do I have wrong? I am new to VBA so I can't seem to see the error. Sub ANCHORLINK()
ActiveWindow.SmallScroll Down:=-3
Sheets("Transition Worksheet").Select
If ROWS(14).ShowDetail = True Then
ROWS(14).ShowDetail = False
Else
If ROWS(14).ShowDetail = False Then
ROWS(14).ShowDetail = True
End If
End If
End Sub
ActiveWindow.SmallScroll Down:=-3
Sheets("Transition Worksheet").Select
If ROWS(14).ShowDetail = True Then
ROWS(14).ShowDetail = False
Else
If ROWS(14).ShowDetail = False Then
ROWS(14).ShowDetail = True
End If
End If
End Sub