vba

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

Solved August 8, 2011

Subtracting from a date in VBA?

I'm having big problems doing operation with the date in Excel VBA. I have a form that has a textbox where the user will…

thumb_up 18 trending_up 9
Solved April 19, 2011

User Defined Functions NOT recalculating

I recently took a large, stable XLSM file, and split it apart into an XLAM and XLSX. Thousands of cells in the XLSX call…

thumb_up 4 trending_up 8
Solved April 17, 2011

How do I declare an array variable in VBA?

I need to add the var in array Public Sub Testprog() Dim test As Variant Dim iCounter As Integer If test = Empty Then…

thumb_up 25 trending_up 17
Solved April 13, 2011

Using VBA to get extended file attributes

Trying to use Excel VBA to capture all the file attributes from files on disk, including extended attributes. Was able to get it to…

thumb_up 15 trending_up 11