Hi -
Trying to check if a folder already exists in a desktop folder called 'Parent Folder'. The path is ..."C:\Users\Tom\Desktop\Parent Folder\plus the variable nFolderName. If this folder exists, I want to return a message telling the user it already exists. If the folder does NOT exist, I want to create it using the variable... nFolderName.
What's happening when I run this code is I get a new folder named nFolderName in the folder named Parent Folder. However, when I hover over my variable in the code, I see the variable name assigned from the input box. I'm stumped!
As a student of VBA, I really want to understand why my code is not behaving as intended. My sample workbook is attached.
Thanks for any help.
Please Login or Register to view this content.
Bookmarks