.
You'll need to change the path in this line of code to match your computer :
As is, the above line is saving the file to my computer's name which is MY. Your computer most likely is named something different. It will be the name shown when you first boot up your computer.
If you are using WIN 10 for example it will say "Welcome My". Change the MY to whatever your computer name is.
And of course, it is saving the file to the Desktop in the above line.
Re-check the spelling of everything in the path line (shown above - for your computer) and recheck the Sheet Name as well. Is the sheet in question actually called SHEET1 ... or is it called something else
like perhaps "INVENTORY' or "DATABASE" or ???
Make certain the cell description in the path (shown as B2 above) is the actual cell you have the File Name entered.
Also keep in mind there are certain symbols that cannot be used in a file name because Windows won't accept them.
These are the common forbidden symbols folks try to use in creating file names :
Windows:
< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)
Bookmarks