+ Reply to Thread
Results 1 to 5 of 5

Macro to Open the Folder

  1. #1
    Registered User
    Join Date
    08-04-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2007
    Posts
    53

    Macro to Open the Folder

    hi All,

    I want a macro in the excel 2007 which opens the folder (not in Explorer).

    The link will be saved in the cell sheet1 "D5".

    Can any one please help me.

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Macro to Open the Folder

    try this

    paste your path in cell D5 & run the code

    Please Login or Register  to view this content.
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Macro to Open the Folder

    if you want to open a particular folder for the user to select a file then use:

    Please Login or Register  to view this content.
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  4. #4
    Registered User
    Join Date
    08-04-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Macro to Open the Folder

    thanks a lot, both the solutions are perfect..

  5. #5
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Macro to Open the Folder

    Hi Glad we could help you

    1. If the suggestion helps you, then Click * to Add Reputation and give your comments
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.
    Last edited by Naveed Raza; 01-19-2014 at 09:23 AM.

+ 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] Excel 2010 VB macro to open all files in folder and run a simple macro
    By MSFLNA in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2013, 02:54 PM
  2. [SOLVED] Macro to open a folder
    By krlmlt89 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-07-2012, 03:32 AM
  3. Macro to open folder
    By mahmud9935 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2012, 10:25 AM
  4. macro to open folder
    By dejvione in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2012, 05:47 AM
  5. Macro to Open Folder
    By pjw23 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-10-2011, 07:45 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