How to select a Named Range in a Workbook using VBA
The following snippet will select the specified named range
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Function Goto_A_Name(ByVal sName As String) As Boolean
'
On Error GoTo Err_Going
Application.GoTo Reference:=sName
Goto_A_Name = True
Exit Function
Err_Going:
End Function
- Login or register to post comments
- Feed: vbadb feed
- Original article
