vba

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

Solved September 16, 2010

Embed an R process in a VBA macro

the title exactly -- is there a way to call an r process from an excel macro?

thumb_up 11 trending_up 11
Solved July 25, 2010

VBA Check if variable is empty

I have an object and within it I wanna check if some properties is set to false, like: If (not objresult.EOF) Then 'Some code…

thumb_up 44 trending_up 21
Solved July 14, 2010

AndAlso/OrElse in VBA

I'm trying to get a lazy evaluation with 'And' in my Excel macro by doing the following: If Not myObject Is Nothing *And* myObject.test()…

thumb_up 36 trending_up 26
Solved July 7, 2010

How to get rid of VBA security warning

I developed a Access application using VBA. Everytime I open Access up, I get the following: I have to click Options -> Enable Content…

thumb_up 10 trending_up 7
Solved December 14, 2009

Side-By-Side COM Interop with C# and VBA

I'm not talking about calling a VBA COM from C#... the other way around! What I would like to do is call a C#…

thumb_up 6 trending_up 5