+ Reply to Thread
Results 1 to 3 of 3

Getting main path (directory) on Mac

  1. #1
    Registered User
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    53

    Getting main path (directory) on Mac

    In VBA on Windows I can enter this:

    Please Login or Register  to view this content.
    and it will give me: C:\Users\MyUserName\

    Is there an equivalent on the MAC?

    Thanks.
    Last edited by jeffreybrown; 06-07-2019 at 11:56 AM. Reason: Please use code tags!

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2010 primarily
    Posts
    2,808

    Re: Getting main path (directory) on Mac

    Have a look at Ron's code here: http://www.rondebruin.nl/mac/mac007.htm
    Rory
    There's a row going on down near Slough

  3. #3
    Registered User
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    53

    Re: Getting main path (directory) on Mac

    Excellent - thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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