Find Newest SubFolder in a Folder **bug**

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Michel
Newbie
Posts: 17
Joined: Fri May 20, 2011 2:12 pm
Location: Ottawa

Find Newest SubFolder in a Folder **bug**

Post by Michel » Wed Jun 08, 2011 3:51 pm

G'day,

I'm trying to use "Find Newest SubFolder in a Folder"

http://www.mjtnet.com/forum/viewtopic.p ... afccc05159

I've copied word-for word and getting the following error messagewhen in debug mode.

Works fine in RUN mode.. but not when single stepping. Why?

-----===== Macro Scheduler =====-----
Microsoft VBScript run time error:13
Type mismatch: 'NewestSubFolder'

I'm running
Windows XP
Microsoft office 2007
MacroScheduler 12.1.6

What's the problem-?

Cheers & thanx.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jun 09, 2011 1:17 pm

Are you stepping from the top of the script and stepping over the VBSTART/VBEND block?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Michel
Newbie
Posts: 17
Joined: Fri May 20, 2011 2:12 pm
Location: Ottawa

Post by Michel » Thu Jun 09, 2011 1:21 pm

Brilliant.

Yep that did it...

Beginner's stumbling around.

Thanx.

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