hello all, for the life of me i cannot figure out why i am receiving an error here. i am simply trying to select the last used cell in a named range. i keep receiving the error: object variable or with block variable not set.
thanks![]()
Private Sub CommandButton1_Click() Dim myrange As Range myrange = Workbooks("wis.xlsm").Sheets("Sheet1").Range("A1", Range("A65536").End(xlUp)) <<<<errors here Range(myrange).Select End Sub
Bookmarks