+ Reply to Thread
Results 1 to 2 of 2

Open file by macro from active folder path

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    Bratislava
    MS-Off Ver
    MS EXCEL 2021
    Posts
    90

    Open file by macro from active folder path

    Hi there,

    If i want to open some file with macro, i try to do like

    Please Login or Register  to view this content.
    but it doesnt take my actual folder where are files but it takes
    Please Login or Register  to view this content.
    How to edit "ThisWorkbook.Path" by path in same folder, where are opened and opening file?

    thanks
    Last edited by xbr088; 07-02-2013 at 02:12 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Open file by macro from active folder path

    Hi xbr88

    Assuming the File you wish to open is in the same Folder as the Workbook that's running the Code, this is what I use
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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