Hi all, I have this coding in my macro <!-- BEGIN TEMPLATE: bbcode_code -->
<code>If blCreateFolder Then MkDir sSaveAsPath End If</code></pre>
<!-- END TEMPLATE: bbcode_code --> When I select true on my master list the code encounters an error the second time it runs as there is already a folder created. How do I make it ignore the instruction if a folder already exists?
Appreciate any help in advance!
<code>If blCreateFolder Then MkDir sSaveAsPath End If</code></pre>
<!-- END TEMPLATE: bbcode_code --> When I select true on my master list the code encounters an error the second time it runs as there is already a folder created. How do I make it ignore the instruction if a folder already exists?
Appreciate any help in advance!