I am trying to create folders on my "C Drive" from an excel sheet, but the macro keeps terminating at the following line:
MkDir "C:\Water\Local Partners\Contracts\01 Tenders\" & site & " - " & project & " - " & ref & "\01 - Client"
I have used
Dim ref As Variant
ref = ActiveCell.Value
for the three variants "site", "project" & "ref"
I am obviously missing something, any assistance would be greatly appreciated.
MkDir "C:\Water\Local Partners\Contracts\01 Tenders\" & site & " - " & project & " - " & ref & "\01 - Client"
I have used
Dim ref As Variant
ref = ActiveCell.Value
for the three variants "site", "project" & "ref"
I am obviously missing something, any assistance would be greatly appreciated.