Thread: VB
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob[_44_] Bob[_44_] is offline
external usenet poster
 
Posts: 6
Default VB

Why do I get an error message with this code in Excel?
There is something wrong in this line: Range("A1").Select


Private Sub CommandButton1_Click()
Sheets("Forecast").Select
Range("A1").Select
End Sub