Hi,
I am currently working on a project where an excel file will create a folder, save itself as a hidden file and create a shortcut to itself within that folder. All easy enough. The one thing that I am trying to do is to use a custom icon for the shortcut file, however the main file will be sent to other users, who will run this 'setup' program to create the folder etc on their desktop and I am trying to find a way to include the icon file within the original excel workbook.
I had the idea of embedding the ico file within a worksheet, then extracting the embedded file into the new folder once created, however an intensive search on how to do this has left me coming up with blanks.
Hoping you guys can help me answer three main questions I have
1. Is this possible with VBA?
2. How can I do it!
and
3. Is there a better way?
Appreciate any assistance.
I am currently working on a project where an excel file will create a folder, save itself as a hidden file and create a shortcut to itself within that folder. All easy enough. The one thing that I am trying to do is to use a custom icon for the shortcut file, however the main file will be sent to other users, who will run this 'setup' program to create the folder etc on their desktop and I am trying to find a way to include the icon file within the original excel workbook.
I had the idea of embedding the ico file within a worksheet, then extracting the embedded file into the new folder once created, however an intensive search on how to do this has left me coming up with blanks.
Hoping you guys can help me answer three main questions I have
1. Is this possible with VBA?
2. How can I do it!
and
3. Is there a better way?
Appreciate any assistance.