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.

How can I concatenate strings in VBA?

This question comes from a comment under Range.Formula= in VBA throws a strange error. I wrote that program by …

excel vba
Code to loop through all records in MS Access

I need a code to loop through all the records in a table so I can extract some data. In …

ms-access vba
How to suppress Update Links warning?

I'm trying to write a script that opens many Excel files. I keep getting the prompt: This workbook contains links …

excel vba
Copy an entire worksheet to a new worksheet in Excel 2010

I have found similar questions that deal with copying an entire worksheet in one workbook and pasting it to another …

vba excel excel-2010
Excel Date Conversion from yyyymmdd to mm/dd/yyyy

I have been searching for about an hour on how to do this in Excel. I have an Excel file …

excel excel-2007 vba
Open Excel file for reading with VBA without display

I want to search through existing Excel files with a macro, but I don't want to display those files when …

excel vba file-io
Copying and pasting data using VBA code

I have a button on a spreadsheet that, when pressed, should allow the user to open a file, then copy …

vba excel excel-2010
How to extract file name from path?

How do I extract the filename myfile.pdf from C:\Documents\myfile.pdf in VBA?

string vba
How do you select the entire excel sheet with Range using VBA?

I found a similar solution to this question in c# How to Select all the cells in a worksheet in …

excel vba excel-2010
How to avoid using Select in Excel VBA

I've heard much about the understandable abhorrence of using .Select in Excel VBA, but I am unsure of how to …

excel vba