vba

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

Solved July 27, 2016

ADO Recordset data not showing on form

I've got a frustrating issue on MS Access 2010 that I would at this stage qualify as a bug. And after having tried all…

thumb_up 7 trending_up 10
Solved July 18, 2016

Access files with long paths (over 260)

I'm using Microsoft Scripting Runtime (FSO) to parse folders and produce a list of all of its contents, the folders are on a network…

thumb_up 6 trending_up 7
Solved January 17, 2015

Can I compile VBA on workbook open?

I am trying to find a way of compiling the code in VBA on workbook open. I can do this manually by opening the…

thumb_up 7 trending_up 7
Solved July 17, 2014

VBA If = ?

I'm fairly new to VBA, and I can't find an easy way to test if any of the specified variables equal a specified value.…

thumb_up 11 trending_up 7
Solved December 27, 2013

VBA: Test if string begins with a string?

In VBA, what's the most straight forward way to test if a string begins with a substring? Java has startsWith. Is there a VBA…

thumb_up 53 trending_up 28
Solved October 16, 2013

Run VBA script from R

I have to manage a workflow involving R-scripts and VBA-code. I would like to run the process in R (where most of my code…

thumb_up 6 trending_up 7