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.

Excel Macro : How can I get the timestamp in "yyyy-MM-dd hh:mm:ss" format?

I am using DateTime.Now in my Excel Macro to show the current timestamp. It shows timestamp in "dd-MM-yyyy hh:…

excel vba
Does VBA have Dictionary Structure?

Does VBA have dictionary structure? Like key<>value array?

vba dictionary data-structures vb6
Hiding an Excel worksheet with VBA

I have an Excel spreadsheet with three sheets. One of the sheets contains formulas for one of the other sheets. …

excel vba ms-office
Excel column number from column name

How to get the column number from column name in Excel using Excel macro?

vba excel
Progress bar in VBA Excel

I'm doing an Excel app that needs a lot data updating from a database, so it takes time. I want …

excel vba
Delete entire row if cell contains the string X

I am new to VBA and I am trying to come up with a way to delete all rows (and …

excel vba excel-2010 excel-2007
How to find if an array contains a string

Possible Duplicate: How to search for string in MS Access VBA array I am currently working on an Excel macro, …

arrays vba substring
How to get current working directory using vba?

I am using MS Excel 2010 and trying to get the current directory using the below code, path = ActiveWorkbook.Path But …

excel vba
VBA array sort function?

I'm looking for a decent sort implementation for arrays in VBA. A Quicksort would be preferred. Or any other sort …

arrays sorting vba vb6 ms-project
Way to run Excel macros from command line or batch file?

I have an Excel VBA macro which I need to run when accessing the file from a batch file, but …

excel vba batch-file command-line