I itazev Registered User. Local time Today, 06:40 Joined Jan 28, 2007 Messages 18 Feb 4, 2007 #1 Hey guys! just wondering if there is an way to command Call Shell("my_bakcup_string",1) and wait 'till the bakcup program ends to go next command in VBA thank you!
Hey guys! just wondering if there is an way to command Call Shell("my_bakcup_string",1) and wait 'till the bakcup program ends to go next command in VBA thank you!
boblarson Smeghead Local time Today, 02:40 Joined Jan 12, 2001 Messages 32,059 Feb 4, 2007 #2 Here's something I found using Google and the search terms "VBA Shell and Wait" http://www.appspro.com/Tips/VBA Tips.htm
Here's something I found using Google and the search terms "VBA Shell and Wait" http://www.appspro.com/Tips/VBA Tips.htm
boblarson Smeghead Local time Today, 02:40 Joined Jan 12, 2001 Messages 32,059 Feb 4, 2007 #3 And here's one from this forum: http://www.access-programmers.co.uk/forums/showthread.php?t=115545&highlight=Shell+wait The search function really does work on this website (just play around with the search terms)
And here's one from this forum: http://www.access-programmers.co.uk/forums/showthread.php?t=115545&highlight=Shell+wait The search function really does work on this website (just play around with the search terms)
I itazev Registered User. Local time Today, 06:40 Joined Jan 28, 2007 Messages 18 Feb 4, 2007 #4 shame on me Shame on me! Sorry guys, I should tried a search before posting! But thank you! I'll check out the links!
shame on me Shame on me! Sorry guys, I should tried a search before posting! But thank you! I'll check out the links!
RuralGuy AWF VIP Local time Today, 03:40 Joined Jul 2, 2005 Messages 13,825 Feb 4, 2007 #5 There is also code from gemma-the-husky in this thread that I have implemented and it works well.