ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   New to Visual Basic (https://www.excelbanter.com/excel-programming/419859-new-visual-basic.html)

Need help with sumif

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


Dave Peterson

New to Visual Basic
 
Check your other post.

Need help with sumif wrote:

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


--

Dave Peterson


All times are GMT +1. The time now is 09:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com