excel-vba

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

Solved October 26, 2012

Count number of rows in worksheet

I want to count number of rows in Sheet1, from the Sheet2 code module. In the sheet1 code module, the following code works fine…

thumb_up 7 trending_up 4
Solved October 24, 2012

VBA Macro across multiple worksheets

I am trying to run a single macro which performs functions on multiple worksheets. Let's say I have assigned the macro button on worksheet…

thumb_up 7 trending_up 7
Solved October 20, 2012

Excel VBA – Remove blank rows in table

I'm trying to run a macro that selects blank cells in a table column and deletes the entire row. The script below does everything…

thumb_up 6 trending_up 6
Solved September 24, 2012

What is a public object module in VBA?

I'm trying to get as close to function pointers / abstract classes as I can in VBA. I have a class called VerificationManager and…

thumb_up 5 trending_up 6