There are good reasons to parse code between class modules and standard modules according to the nature of functionality they provide, but this doesn't fall under any of them.
If you instead had
Private Sub CommandButton1_Click()
Navigate "Flex1Home"
End Sub
Sub Navigate(sRange as String)
Application.Goto Reference:=sRange, Scroll:=True
End Sub
... then the latter might reasonably go in a code module because it is non-specific to any worksheet or event, but invoking a procedure to replace a single simple line of code is ... not good.
Bookmarks