excel-vba

136 expert-verified Q&A posts in this category, sourced from the top-voted answers on Stack Overflow.

Solved February 11, 2013

VBA Excel, mismatch for inputbox as integer

My code Dim a As Integer a = InputBox("Enter the number", "Program", "", 7000, 6000) If a = Empty Then ' do code... Else…

thumb_up 9 trending_up 8
Solved December 21, 2012

Excel VBA Loop on columns

when we are going to do a loop in the rows, we can use code like the following: i = 1 Do Range("E" &…

thumb_up 13 trending_up 5
Solved November 23, 2012

How To Display Part of Excel on VBA Form

I have a file on .csv format and from A-S columns, it has some records like a table. My complete program will insert/remove/delete/add some…

thumb_up 13 trending_up 4