Sub IncrCell() Dim A as Integer // Variable declaration A = 1 // Giving Variable A the Value 1 Range("A1").Value = Range("A1").Value + A // This will Increase Cell A1 by "A" End Sub
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter