New to Visual Basic

  • Thread starter Need help with sumif
  • Start date
N

Need help with sumif

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
 
D

Dave Peterson

Check your other post.
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top