#1
|
|||
|
|||
Attach file VBA with SharePoint file
Hiya
I have a VBA that automatically attaches files to a draft email, and it works fine. But when it comes to SharePoint files, it adds %20 into the file names. Whereas if I attach the SharePoint file manually by going to Attach File > Browse this PC > and I put in the whole URL path to the file, it asks if I want to attach a copy, and I click that, and it adds it without %20 in the filename. So I'm not sure why it adds %20 when it's via VBA? I've tried removing https: from the string for the path, but it just gets hung up unless I'm using ActiveX, which I'm trying to avoid now since it's gone defunct, so that doesn't work. Let me know your thoughts!! Thanks all James |
Tags |
attachment, sharepoint, vba |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Attach .xlsm file to Outlook email from whatever folder it's been saved in | kiwimtnbkr | Excel Programming | 1 | 04-02-2022 11:32 PM |
Cannot find file to attach in email | megabyte | Outlook | 0 | 09-23-2020 05:35 AM |
Button with VBA to attach a file in a protected document | wolfgrrl | Word VBA | 6 | 09-20-2019 07:38 AM |
Having Touble Finding Word File When Trying to Attach to Email | freetibet213 | Word | 3 | 12-28-2011 05:26 AM |
Attach a Excel file with Power point | gmalpani | Office | 0 | 11-27-2011 03:11 AM |