+ Reply to Thread
Results 1 to 1 of 1

Trouble attaching a spreadsheet from a network folder

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    41

    Trouble attaching a spreadsheet from a network folder

    Hi all! Hope you're doing well. I'm trying to automate a report for a coworker.

    I have all the data manipulation, formatting and email build with the To, CC, Subject and Body but attaching the file is giving me fits! Works perfectly if the path is on my computer but this file's natural location is a network drive but my code fails if the alias or the fully qualified path is used. Wasn't sure if I could use the TempWorkbook or fix the problem going out to the network drive. Attached is what I've got cooked up so far. Any help is greatly appreciated! =)

    * Note ignore the comment on the add attachment line. it doesn't work when the comment is removed, just missed it when i was taking all the company info out of it
    Attached Files Attached Files
    Last edited by arcarc1309; 05-22-2020 at 11:39 AM. Reason: clarification

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Trouble Updating a list of Files if a file no longer exists in the Folder/Sub Folder Dir.
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-26-2019, 02:03 AM
  2. Macro to copy workbook from Network folder in appropriate sub-folder
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2018, 09:44 AM
  3. Replies: 2
    Last Post: 12-11-2016, 01:16 PM
  4. Having trouble attaching a file.
    By Mumps1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2016, 09:02 AM
  5. Replies: 12
    Last Post: 03-09-2015, 05:52 PM
  6. [SOLVED] Attaching PDFs in a folder to an email.
    By yeahyeahyeah in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-02-2012, 06:02 PM
  7. [SOLVED] Trouble attaching an Excel file in Outlook 2003 - Help
    By Lionel in forum Excel General
    Replies: 1
    Last Post: 04-09-2005, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1