Top "Vba" questions

Visual Basic for Applications (VBA) is an event-driven, object-oriented programming language for writing macros, used for the entire Office suite as well as other applications.

"Can't find Project or Library" for standard VBA functions

So I'm having to run someone else's excel app on my PC, and I'm getting "Can't find Project or Library" …

excel vba reference namespaces
How to do a "Save As" in vba code, saving my current Excel workbook with datestamp?

I have an Excel Workbook that on form button click I want to save a copy of the workbook with …

excel excel-2007 archive save vba
Where does VBA Debug.Print log to?

Where does Debug.Print output messages?

vba debugging ms-office
Function to convert column number to letter?

Does anyone have an Excel VBA function which can return the column letter(s) from a number? For example, entering 100 …

excel vba excel-udf
Loop through each row of a range in Excel

This is one of those things that I'm sure there's a built-in function for (and I may well have been …

excel vba loops excel-2003
What is the equivalent of "!=" in Excel VBA?

The problem is that != does not work as a function in excel vba. I want to be able to use …

excel vba function syntax inequality
Check if value exists in column in VBA

I have a column of numbers of over 500 rows. I need to use VBA to check if variable X matches …

excel vba matching
Excel VBA Run-time error '13' Type mismatch

I created a macro for a file and first it was working fine, but today I've been opening and restarting …

excel excel-2010 vba
Break out of a While...Wend loop

I am using a While...Wend loop of VBA. Dim count as Integer While True count=count+1 If count = 10 Then …

excel vba while-loop
How to parse XML using vba

I work in VBA, and want to parse a string eg <PointN xsi:type='typens:PointN' xmlns:xsi='http://…

xml vba parsing xml-parsing