Results 1 to 15 of 15

Find pdf file within subdirectory to attach to email

Threaded View

clorodet20607 Find pdf file within... 04-09-2021, 10:48 PM
ByteMarks Re: Find pdf file within... 04-10-2021, 07:40 AM
clorodet20607 Re: Find pdf file within... 04-10-2021, 08:37 AM
ByteMarks Re: Find pdf file within... 04-10-2021, 08:58 AM
clorodet20607 Re: Find pdf file within... 04-10-2021, 09:12 AM
ByteMarks Re: Find pdf file within... 04-10-2021, 09:21 AM
clorodet20607 Re: Find pdf file within... 04-10-2021, 09:38 AM
ByteMarks Re: Find pdf file within... 04-10-2021, 10:23 AM
clorodet20607 Re: Find pdf file within... 04-10-2021, 10:42 AM
ByteMarks Re: Find pdf file within... 04-10-2021, 04:42 PM
Kenneth Hobson Re: Find pdf file within... 04-10-2021, 08:42 PM
clorodet20607 Re: Find pdf file within... 04-11-2021, 12:10 AM
Kenneth Hobson Re: Find pdf file within... 04-11-2021, 12:34 AM
Kenneth Hobson Re: Find pdf file within... 04-11-2021, 12:40 AM
clorodet20607 Re: Find pdf file within... 04-11-2021, 12:57 AM
  1. #1
    Registered User
    Join Date
    04-06-2021
    Location
    Accokeek, MD
    MS-Off Ver
    365
    Posts
    30

    Find pdf file within subdirectory to attach to email

    I have completed a macro in Excel that will go to a subdirectory, locate a specific pdf file from data in column A, and attach the pdf to an email. The files are kept in folders depending on the content, i.e., some of the files are in the INVOICES folder, some are in the SERVICES folder, some are in the INTERCOMPANY folder. The file will never be located in more than 1 folder.

    What I would like the macro to do is find the file and attach it to an email. The macro works if I provide the complete path but I would like to find the file REGARDLESS to the subfolder name within the 2021 INVOICES folder.

    Following is the path for the Services directory. There are also monthly subdirectories for INVOICES and INTERCOMPANY.

    C:\Users\christma-2\OurYear2Win\Documents\Clorodet\Accounts Receivable\SAP Invoices\2021 Invoices\04-2021 Service Invoices

    I would like the macro to look in the subdirectories in the 2021 Invoices folder.
    Attached Files Attached Files
    Last edited by clorodet20607; 04-09-2021 at 10:53 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. can't find file with macro in current subdirectory
    By xi603 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-28-2017, 06:47 PM
  2. Browse for a file edit the file then attach it to an email
    By Bobbbo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2016, 11:50 PM
  3. Attach a file that is open to an email
    By Bobbbo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2016, 11:35 PM
  4. I need VBA to save file and attach file to email based on conditional statements
    By jcrowe31 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2014, 09:41 AM
  5. [SOLVED] Trying to create a .pdf and attach it to email, but get .xls file instead
    By sbrnard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-19-2013, 01:21 PM
  6. [SOLVED] Attach a file and email it using Excel.
    By Paul Morgan in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2012, 09:32 AM
  7. Email workbook AND attach a separate file to the email
    By sgreni in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2009, 06:48 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