![]() |
|
||||||||
| Site Links |
| Consulting |
| Knowledge Base |
| Training |
| Forum |
| Articles |
| Resources |
| Products |
| Cool Tools |
| Contact |
| About Us |
| Go to Page... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Moderator
|
Solved: Make a new folder error
I am trying to make a new folder to hold VBA Examples on the New Apple I only just purchased.
The supplied code contains a syntax error in the ninth line. It was copied from Ron deBruin's site and appears to be an accurate copy. All that I have altered is the actual path name required for the folder to be created in. VBA:
VBA tags courtesy of www.thecodenet.com
Remember To Do the Following.... Use the VBA button to correctly submit your code to the forum. Mark your thread as Solved if satisfied by using the Thread Tools options |
|
Local Time: 04:59 PM
Local Date: 05-24-2013 Location:
|
|
|
|
#2 |
|
Mac Moderator
|
Instad of MacScript, have you tried MsgBox to make sure that all the sytanx is correct in the ScriptToMakeDir string?
|
|
Local Time: 11:59 PM
Local Date: 05-23-2013 |
|
|
|
#3 |
|
Moderator
|
Mike, I have fixed an error relating to the spaces between ""mkdir -p"" and this has resolved the syntax error message, but has now been replaced by the error message "expected end of statement" and highlights the word "form" in the same line.
Remember To Do the Following.... Use the VBA button to correctly submit your code to the forum. Mark your thread as Solved if satisfied by using the Thread Tools options |
|
Local Time: 04:59 PM
Local Date: 05-24-2013 Location:
|
|
|
|
#4 |
|
Mac Moderator
|
|
|
Local Time: 11:59 PM
Local Date: 05-23-2013 |
|
|
|
#5 |
|
Moderator
|
Thank you
Remember To Do the Following.... Use the VBA button to correctly submit your code to the forum. Mark your thread as Solved if satisfied by using the Thread Tools options |
|
Local Time: 04:59 PM
Local Date: 05-24-2013 Location:
|
|
|
|
#6 |
|
|
you can't use a line continuation character in the middle of a string:
VBA:
VBA tags courtesy of www.thecodenet.com
VBA:
VBA tags courtesy of www.thecodenet.com
Be as you wish to seem |
|
Local Time: 09:59 AM
Local Date: 05-24-2013 |
|
|
|
#7 |
|
Moderator
|
Thank you
Remember To Do the Following.... Use the VBA button to correctly submit your code to the forum. Mark your thread as Solved if satisfied by using the Thread Tools options |
|
Local Time: 04:59 PM
Local Date: 05-24-2013 Location:
|
|
![]() |
| Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|


