View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Need help with sumif Need help with sumif is offline
external usenet poster
 
Posts: 10
Default New to Visual Basic

Can someone tell me how to run this in excel

Private Sub CommandButton1_Click()
Dim sName As String
sName = InputBox("Enter your name", "Title")
Cells.Value("A1") = sName
End Sub