![]() |
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 |
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