VBA And DateAdd

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Dexter1
Pro Scripter
Posts: 64
Joined: Mon Jun 19, 2006 3:28 pm

VBA And DateAdd

Post by Dexter1 » Mon Sep 15, 2008 10:05 pm

I'm trying to use the code from the article below to handle some date addition.

http://www.mjtnet.com/blog/2006/01/23/u ... variables/

In it, Marcus gives the following code but it does not work for me.

Code: Select all

VBSTART
VBEND
VBEval>DateAdd(â€

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Mon Sep 15, 2008 11:07 pm

For some strange reason when that code is copied and pasted from Marcus' blog to the editor the quote marks " are coming over as italic quotes. If you replace all the quote marks with regular " quotes then it should work for you.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts