Thanks for the response.
I tried the code but it gives me an error:
Script: C:\test.vbs
Line: 46
Error: Expected ')
Code: 800A03EE
Source: Microsoft VBScript compilation error
Futhermore, my original code is vbs and yours seem to be VBA code. Can both type of codes mixed together when I executed them in a file called test.vbs?
Please advise.
Thank you.
Main Topics
Browse All Topics





by: chris_bottomleyPosted on 2008-11-08 at 23:51:19ID: 22915484
Hello altric,
I use a function to add a sub ... try the following change for your block:
Chris
Regards,
Chris
Select allOpen in new window