+ Reply to Thread
Results 1 to 4 of 4

Need help on updating a macro

  1. #1
    Registered User
    Join Date
    03-17-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Need help on updating a macro

    Hi everyone,

    I have been using this code to send rosters to our employees at the moment,

    Currently in coloumn "I" contains the path for the attachments.

    The attachments and the excle file is in the same folder, so how can I let the code to automatically attach the files in the same folder? so I only need to put the "file name" in coloumn "I" instead of the whole path?

    I hope i have made myself clear, and appreciate your help in advance.

    As a new Member, I can't attache CODE into post now, please see the attached excel file in the "Sub Send_Files()" macro.

    Thank you again.
    Attached Files Attached Files
    Last edited by lbf200n; 08-06-2020 at 11:52 PM.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,231

    Re: Need help on updating a macro

    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    03-17-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Need help on updating a macro

    Thank you so much sintek!

    Your code works perfectely!

    Thanks again!

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,231

    Re: Need help on updating a macro

    Pleasure...If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED

    Also...thanks for adding rep +

+ 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] still not updating by macro
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-28-2016, 05:10 PM
  2. help for updating a macro
    By ikshanu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2015, 02:21 PM
  3. [SOLVED] Macro for updating a range
    By swiderskit3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2014, 03:55 PM
  4. updating a value using a macro
    By Mark Jeffery in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-08-2006, 07:27 AM
  5. Replies: 3
    Last Post: 03-20-2006, 01:25 AM
  6. Updating a database with macro
    By lalthan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-24-2005, 06:05 PM
  7. Updating within a Macro
    By bern in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2005, 07:17 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