excel-vba

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

Solved March 30, 2012

Excel VBA Substring

I am writing a macro that takes a list of names that are in an LDAP format converts them to First, Last (region). For…

thumb_up 10 trending_up 7
Solved January 26, 2012

Array in excel vba

I want to have an array list in vba, hence I have a variant declared in excel vba like: Dim Students(10) as variant Now…

thumb_up 8 trending_up 6
Solved December 30, 2011

Excel VBA Run-Time Error 1004

I am using VBA for Excel 2010 and randomly receiving the following error: Run-time error '1004': "The sort reference is not valid. Make sure…

thumb_up 4 trending_up 6