Saving a non-Excel separate file and recording the URL

Rocky Beach

New Member
Joined
Jan 31, 2017
Messages
1
I am developing a small VBA program and I am looking for an easy way for my users to "attach" a source file to a table record. Ideally, I would like the user to be able to click a command button which brings up some kind of save as dialog box. The user could then drag and drop a file from their local computer or even an attachment straight from Outlook. When the dialog box is closed, I would rename the file with the record ID, save the file in a specific folder and add the URL to a field in the record. The user can then simply click on the URL to see the "attached" file. I know this is basically how the attachment process works in Outlook, but is there a way to do it in Excel?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top