+ Reply to Thread
Results 1 to 2 of 2

vba for sending current workbook path to a group

  1. #1
    Registered User
    Join Date
    05-10-2016
    Location
    petrolia, pa
    MS-Off Ver
    10
    Posts
    11

    vba for sending current workbook path to a group

    I have found a lot of info but not for exactly what I want. I want the code to use the path from the open workbook and insert that path as a link into an outlook message so I can send it to a group. The file path will change daily as the current date is added to the end as seen in this example [S:\coname\Shared\Customer Care\docs\todays list 07-26-2016.xlsm], therefore I do not want to have to hard code the file name into the code.

    Thanks

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,945

    Re: vba for sending current workbook path to a group

    Something along the lines of this - not sure if you only wanted the path from the activeworkbook (the first commented-out line) or the full name (the second....):

    (Note that I had to put extra spaces into the HTML controls (< >) to get the message to post....

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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] Open another workbook from current Directory as Path using VBA
    By gr8spot in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-01-2015, 07:03 AM
  2. Export worksheets from a workbook to the current workbook location path
    By legendkiller420 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2010, 04:08 AM
  3. Replies: 2
    Last Post: 09-06-2005, 07:05 AM
  4. Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  5. How prevent formulas to get external references/path to current workbook?
    By Gunnar Johansson in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. How prevent formulas to get external references/path to current workbook?
    By Gunnar Johansson in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Current Workbook Path
    By Terry in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2005, 01:06 AM

Tags for this Thread

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