|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I had one question, how do i plus a number from excel cell for example A1.
A1 number is now 30, if i add a code in visual basic by clicking a command button, it will add 1 to 31. (excel97) |
|
#2
|
|||
|
|||
|
Solved:
Private Sub Button1_Click() Range("A1").Activate ActiveCell.Value = ActiveCell.Value + 1 End Sub |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > excel visual basic |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|