Search found 9 matches

by hip2b2
Mon Dec 12, 2011 5:32 pm
Forum: Technical / Scripting
Topic: Run IF AND
Replies: 2
Views: 3013

I thought that the "Wait>WaitTime" was not running as part of "IFFileExists" = True, but it appears once again I was wrong.

Thanks for the help.

h
by hip2b2
Mon Dec 12, 2011 4:01 pm
Forum: Technical / Scripting
Topic: Run IF AND
Replies: 2
Views: 3013

Run IF AND

I am trying to build what is a simple macro but am so far unsuccesful. My objective is to: 1 - Test for file (%Path%\Folder_n\data.csv) 2 - If file exists then a run VBS script AND wait 60 seconds before continuing 3 - If file does not exist then do nothing and move on to next If routine. //Variable...
by hip2b2
Tue Mar 15, 2011 10:39 am
Forum: Technical / Scripting
Topic: Progress bar
Replies: 5
Views: 7166

Many thanks for the help. I THINK / hope that does it.

Regards

hip
by hip2b2
Mon Mar 14, 2011 5:10 pm
Forum: Technical / Scripting
Topic: Progress bar
Replies: 5
Views: 7166

Progress bar

I have modified in a small way the sample progress bar script (included below). I have 2 problems in getting this script to do what I need: 1 - Start script counter on open (i.e., remove the "Start" button). I know what part of the script to remove to get rid of the start button, but I would like to...
by hip2b2
Tue Jul 20, 2010 12:06 am
Forum: Technical / Scripting
Topic: Find oldest file in directory & run script
Replies: 3
Views: 7445

Find oldest file in directory & run script

I am trying to find a solution to the following problem:

Of many files of many names and types in a folder find the oldest instance of a file with the string "SNAPSHOT" in the name.

Insert the file name in a command to run> program.exe OldestSNAPSHOT.exe

Thanks in advance

k
by hip2b2
Fri Nov 06, 2009 1:40 am
Forum: Technical / Scripting
Topic: Script to sort csv files - way too hard for my little brain
Replies: 9
Views: 36297

sigh....

OK, then I expect that I will have to explore a variation of the DBQuery script that mtettmar suggested; unless someone has another direction to suggest.

Wonderful ideas/support.

Thanks

hip
by hip2b2
Thu Nov 05, 2009 8:31 pm
Forum: Technical / Scripting
Topic: Script to sort csv files - way too hard for my little brain
Replies: 9
Views: 36297

mtettmar, Your code works perfectly with one Excel problem; Excel refuses to completely exit at the completion of the routine. This is evident iIf I run the script "n" times there are "n" Excel.exe processes running in the XP Process Manager. This seems to be an Excel problem, and does not have anyt...
by hip2b2
Thu Nov 05, 2009 2:17 pm
Forum: Technical / Scripting
Topic: Script to sort csv files - way too hard for my little brain
Replies: 9
Views: 36297

I've tried the excel example but get an error: MS VBScript runtime error:438 Object doesn't support this property or method: 'XLApp.ActiveWorkbook.ActiveSheet.Sort' Line 6, Col 0 Is it me? Is there an Excel 2k3 switch that needs to be set? One other thing, Will I be able to sort on multiple columns ...
by hip2b2
Thu Nov 05, 2009 5:10 am
Forum: Technical / Scripting
Topic: Script to sort csv files - way too hard for my little brain
Replies: 9
Views: 36297

Script to sort csv files - way too hard for my little brain

First I do not see a sort command on the macro editor, but even if I did I suspect this problem would be too complex for me (and my little brain). I also have not found any examples in the forum. I am looking to sort various csv files that are similar but different. By different I mean that some fil...
Sign up to our newsletter for free automation tips, tricks & discounts