get filename

  1. Amenolakaky

    VBA code to search ang get path passed on cell value (please help)

    Dear All I have and excel file includes records which in column H as range H1 = 360001 H2 = 360002 H3 = 360003 ETC I asked my clients to save a document in shared folder names with what mentioned above, as a copy of invoice for 360001 named 360001 and the same with the rest all what i need to...
  2. F

    export file as PDF but with the name as mentioned in cell D27 in sheet "Faktuur"

    The macro currently has the following ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _ "V:\ingrid\Book9.pdf", Quality:=xlQualityStandard, IncludeDocProperties:= _ True, IgnorePrintAreas:=False, OpenAfterPublish:=False I want this to be changed as such that it...
  3. P

    VBA: Getting the document name when using workbook.open

    Hi, I am trying to import data from multiple workbooks onto this master workbook and then have the imported document name entered onto a list starting vertically from C9. I have the code to import the files but have not figured out how to get the name of the doc onto the list from C9. This is...
  4. J

    How to get just one or more file name (not list all file in directory and no needed the path) by choosing the file with opening file dialog?

    Hi.. I needed some help..i just wanna copied just filenames (one or more) that i've selected to the cell that i wanted as a list..then adding a hyperlink to that filename so i can get to just open the folder of that file (not opening the file itself just the folder place of that file) while i...
  5. T

    Get filename from .txt so I can close it later?

    Hi I have code that will open a text file (don't know the name it will be but will be the only one), but I need to figure out how to get that file name so that I can use it to close the file later on. Workbooks.opentext Filename:="*.txt", Origin:= _ xlMSDOS, StartRow:=1...
  6. J

    vba GetOpenFileName - can I amend macro to address FilePath from named cell in active workbook?

    Hi all. I have a macro (see code below) that copies a worksheet (Sheet1) from a closed workbook into Sheet1 of the active workbook. So far, so good but I need the path to the closed workbook to be taken from a cell in the active workbook which is populated by a drop-down combo box. I have named...
  7. W

    Check filename before running code

    Hi All, I have a service report form which pre-populates certain fields depending on which task is to be done. The task is selected by a drop down box in one of the worksheets. I realized a risk is that if a person selects a task which will pre-populate the fields, completes the form and then...

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