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

I wrote this simple task can anyone tell me how do I run this

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