View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Christine Christine is offline
external usenet poster
 
Posts: 147
Default Find the Error in my Code Please

Just trying to select the data table and then have the SORT tool appear on
the screen. This code worked last night but when i bring up the file this
morning I kept getting the following error: Run-time error '1001' Show method
of Dialog class failed. Where have I gone wrong? THANKS!


Sub Button22_Click()
ActiveSheet.Range(Cells(8, 1), Cells(237, 12)).Select
Application.Dialogs(xlDialogSort).Show
End Sub