file path

  1. M

    Need help with changing multiple file paths to UNC paths

    I am planning on implementing a new files server in the upcoming weeks. A few people that we support have excel spreadsheets that have multiple drives and file paths hyperlinks and I want to change those links into there UNC paths. Then this will allow me to then just replace the old server path...
  2. J

    how to adapt from FolderPicker input to file path as variable?

    Hi all! I found this code online a while back and have been using it and it works great, but now I'd like to remove the user input from the process and instead derive the folder path from variables that were assigned earlier in the macro... The previous version... Sub GetFileNames() Dim...
  3. J

    Differing pasted link file paths?

    I have a Summary Workbook that I paste links from other Client workbooks into. Depending on how I open the file, the linked file path pasted is different. The links also behave different when updating the original source file.</SPAN> If I use a hyperlink in the Summary Workbook to open a...
  4. Q

    Making Folder and Subfolder Search Recursive - Finding File Name matching Cell and Getting Path

    Hello, I've been working on this for hours, and I'm ready to ask for help. I'm a relative VBA beginner, and have been teaching myself over the past month. I know exactly what steps I want this program to take, but am having trouble implementing those steps in a way that is concise, because I...
  5. L

    Loading several .txt files into different sheets of an .xls

    Hello everyone, I´m trying to analyze several measurements in one excel Worksheet. Attached you find the xls sheet and a picture showing the folder structure where the measurement data is stored. https://www.dropbox.com/s/7dvmtv458cpumb4/Capture.JPG?dl=0...
  6. W

    Change all file paths in cells in sheet based on a single cell

    Hi, I have a spreadsheet (call it 'Central reporting') that I want to act as a kind of central store for the first sheet (call it 'progress report') of several of workbooks which are spread around various file locations. All the workbooks have an identical layout for the first sheet; however...
  7. 6

    VBA Editing External Links

    I have searched through several threads already posted and some of them "touch" upon what I have trying to do, I try out some of the suggested solutions, but nothing seems to work the way I need it to. So let me start off by explaining what I am "trying" to do. I have to track employee...
  8. T

    Macro to combine multiple worksheets into a summary workbook without merging the worksheets

    I am trying to figure out how to combine 2 macros. The first macro allows me to select the file path I need, and the second macro will use the file path from the first macro and pull the worksheets from all files in the file path and combine them into 1 summary workbook. What is the best way to...
  9. P

    Help using variable in KILL command file path

    Hello, I made a macro to save a file with todays date in a folder. I'll be doing this everyday and I don't want the folder to fill with workbooks. I would like to keep yesterdays and delete the file dated the day before yesterday. Also If anyone can give me a tip for adding in holidays to the...
  10. M

    Run-time error '13' setting long file path in Connections

    Hi I've created a workbook with tables that are refreshed on opening the workbook, their source is queries on other workbook sheets. In order to facilitate the distribution of the workbook I need to set the Connection properties of the MS Query on opening. I have the script below, which when...
  11. K

    Managing macros with hard coded file paths

    We have multiple macros that have been developed by various users in the company. Many of these macros have file paths hard coded into the macro to reference file locations with networked drives. We are planning on making some changes to the network file structure which will break these macros...
  12. I

    INDIRECT.ext Problems

    Hey guys, I'm trying to use INDIRECT.EXT to reference a cell in another workbook. However, I keep getting a #REF! error. In cell L2: '\\IN-ACCOUNTING1\Accounting\EOP_workpapers\Books\AAL\2012\04\[CN3008R_CGS.csv]CN3008R_CGS'!F9 L2 is a concatenation as follows...
  13. S

    VBA script to capture file path

    I need a script to capture the A file path, as my macro opens named files which reside in a different location to the master file that contains the macro, I want to avoid hardcoding the paths and end users having to change the VBA code every month for example Master file resides in...
  14. A

    Macro to Import from Hyperlink

    Hi all, again I am still working on this rather massive excel tool hence the questions which I hope you guys do not find irritating or stupid. The macro currently creates hyperlinks in cells, but the text displayed is only the file name, not the full file path. Now I am trying to write another...
  15. W

    VBA - Getting Computer Name and User Name on a Mac, Excel 2011

    Hi! I'm finding it difficult to do one specific thing. I want to open a workbook that has the same filename on 2+ different computers, all of these computers being Macs (OSX version 10.5 and later). The problem is when I use the following code to open a specific workbook, it will only open on...
  16. E

    Default File Path in a Macro

    I have written a macro that copies worksheets from a workbook to a new workbook and saves it. I want the new workbook to save to the same network file folder as the original. It seems like everytime i run the macro it saves in a different location. Sometimes in the correct location. Often...
  17. A

    File Path Question??

    I have workbook setup that uses a set of variables stored into stings. The way I have this script working right now is the variable becomes part of the file name when saving . Ex. File Name: "2010-Assessment-Data- For-" & (Var1) & (var2) & ".xmls" I was able to make this set-up work and...
  18. B

    Update File path in VBA

    Hello, This is my first post here at MrExcel, but I have been using the forum for some time now to search for answers. I haven't been able to find an answer to my latest question: When I move files/folders referenced in my VBA script, the script obviously fails since the path mentioned is no...
  19. A

    File Path

    Is there a way to have a macro pop-up a box with the file path of the excel workbook. I'm know that this is easy but there's a catch! PROBLEM: I need the file path for the workbook to be copyable. The user needs to copy and paste the file path into a separate program. THOUGHT: I was thinking...
  20. Default300

    Query DataSource Filename & File Path: ?HowTo Update Query Automatically when either one Changes?

    Windows XP Home / Professional Excel 2003 / 2002 VBA 6.5.1024 MS Query 11.8164.8172 Question (concise version): I have several QueryTables in an Excel Workbook. The Query for each was created from the User Interface, and with Microsoft Query, (not VBA so far). During development, I am changing...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top