Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell "mkdir"
Greetings !
My code generates a value for TargetDir = [say] "C:\myDir" the line of code that reads - Shell "mkdir " & TargetDir generates a run-time error 53 "File not found" How can I overcome this ? RClay AT haswell DOT com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell "mkdir"
Hi
Sub test() Dim TargetDir As String TargetDir = "C:\myDir" MkDir TargetDir End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "Robin Clay" wrote in message ... Greetings ! My code generates a value for TargetDir = [say] "C:\myDir" the line of code that reads - Shell "mkdir " & TargetDir generates a run-time error 53 "File not found" How can I overcome this ? RClay AT haswell DOT com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell "mkdir"
SO simple - when you know how ! Thank you. -----Original Message----- Hi Sub test() Dim TargetDir As String TargetDir = "C:\myDir" MkDir TargetDir End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "Robin Clay" wrote in message ... Greetings ! My code generates a value for TargetDir = [say] "C:\myDir" the line of code that reads - Shell "mkdir " & TargetDir generates a run-time error 53 "File not found" How can I overcome this ? RClay AT haswell DOT com . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use the "shell" command? | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Problem using Excel's "Shell" command | Excel Programming |