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.
I want to do this but it won't compile: Public MyVariable as Integer = 123 What's the best way of achieving this?
vba variables default-value public variable-declarationHow can I get a range of cells selected via user mouse input for further processing using VBA?
vba excel excel-2003I am trying to write a simple macro to display a pop-up (vbOKOnly) if the value in a cell exceeds …
vba excel messageboxI have a pull down menu of companies that is populated by a list on another sheet. Three columns, Company, …
excel vba macos directory create-directoryI'm trying to run an Excel macro from outside of the Excel file. I'm currently using a ".vbs" file run …
excel vba command-line vbscriptIs it possible to call a function from one Module to another? I have the following code: Sub MAIN() Call …
vba module callUsing Microsoft Excel 2010, I noticed two kind of controls that can be inserted into a document: Form Controls and ActiveX …
excel vba excel-2010 activex form-controlI am looking for a way to add a custom tab in the Excel ribbon which would carry a few …
excel vba excel-2007 ribbonxI've written a program that runs and messages Skype with information when if finishes. I need to add a reference …
excel vba reference