folders

  1. A

    Saving files to a folder created by a Macro

    Hi all, I am using a macro to create a folder. This is working perfectly. However, when I try to save something into that newly created file, I get a popup saying "The file could not be accessed. Try one of the following..." This is the macro used to create the new folder Sub...
  2. M

    Search data in variable workbook

    I want to retrieve some cell values from another workbook which each time has a different name. The variable name of the workbook is placed in cell c3 on sheet1. It needs to search for the variable workbook in two different folders and get the data from cell D5. I tried to do with Vlookup, but...
  3. C

    Create directory and subdirectory based on cell data and with file name

    Hi, I am stuck. I want to create a folder named from a cell, then another directory from a cell then a report filename from cell + report for example 123456report. My below VBA worked with one sub directory but not two.....the below is what I did to attempt this but it is not working....it...
  4. H

    File names to excel from respective folders

    Hi All, I am working on some automation and need your help in vba code to get excel file names from respective folders......for example ..I have 10 different folders and need the file names those were inside the folder to excel cell starting from A1, A2, A3...so on... if I get the complete...
  5. V

    When do we create objects for folders in vba?

    Hello All, I would like to know why do we create objects for folders in vba. What does object do? Thank you in Advance! Your response is greatly appreciated!
  6. L

    Creating subfolders in a number of existing folders

    Hi all I am quite new to VBA and have found a number of the posts on this board really helpful! I have come across a query I haven't been able to find an answer for though - I have 60 folders, each assigned to a different client, and within each of these is the same set of subfolders. I am...
  7. J

    Automate the Hyperlink process for multiple cells to folders?

    I want to make a hyperlink for these cells going to folders of the same name. I would like to automate this process as I have over 250 individual cells to link to folders accordingly. Is this a possibility? 201712001 <= i.e. to folder D:/2017/12/201712001 201712002 <= i.e. to folder...
  8. H

    Import Multiple CSV Files from a Folder, and getting multiple query folders

    Hello, Whenever I click the "double down arrow" next to Content in my query that I just created from a folder that contains CSV files, downloaded from ExcelisFun PowerQuery04, I am getting a new screen titled "Combine Files"; Combine Files screen is asking me for Example File, File origin...
  9. B

    Excel VBA or any free tool for list all VBA function procedure and Sub Procedure

    Hi all, I am in the stage of tidy up all my UDF and and Sub Procedure I wrote since several years ago. As of now those excel files scatter in many folders and sub folders. What I am looking for now is excel VBA with ability to loop through folder and all its sub folders and create a list of "...
  10. A

    7zip

    Hi, Please help me in getting code of 7zip of all folders in a given range I have the code of zip but the size of zip goes beyond the limit most of the time hence looking out for 7zip of folders in a given path Please assist
  11. P

    Copying Folders from one location to another based on a excel spreadsheet

    Hi I was wondering if I can get some help, we have received a load of data in folders based on cases, we know from each case via a lookup which case belongs to which individual. <colgroup><col><col></colgroup><tbody> Existing Folder New Folder h:\ESCC\OB\KYB\3923 H:\ESCC\Donna Waddington...
  12. B

    Excluding specific file types from directory count

    Hi there, I'm trying to exclude specific file types when doing a count within folders in a specific directory. The code below works when the file is NAMED, but only when. I need some guidance on how wildcards would be used in a situation like this. In addition, I would GREATLY appreciate...
  13. L

    VB Script to open multiple folders on HD & provide file property details.

    Hello all... I am creating a database spreadsheet for files I have on my hard drive. I found the script I want, and it works, but there are 2 functions I would like to have it do to smooth the process. What this code does is pulls all the files in 1 folder & gives me the data from the...
  14. P

    Recursive Creating a Folder Tree in Outlook

    Hi, I have been creating folders in Outlook using a simple macro that creates folders from the first column of an Excel sheet under the folder currently selected. That macro is based in Outlook. We are at the beginning of a new fiscal year and I would really like to create the whole tree at...
  15. ADAMC

    Print from all folders within a folder

    Hi all, Thank you in advance as always for any help. I have lots of printing of multiple PDF files to print and I wonder if someone can help me if its possible to do it with VBA? I have one single file path - within that file path are a set of folders in each of those folders are files, all...
  16. M

    Search folders for an image and import to cell in VBA

    I want Excel to search all folders located in C:\Users\Daniel\Desktop and find a folder called "X" (value pulled from A1) If such folder exists, and contains images, import the first image it finds (earliest Created date) How do I do that?
  17. D

    Export Folders and Sub Folders data to Excel

    Hello guys,I have this code which serves to copy the information of the mails of the folders and subfolders that I have selected.But what I want is that in line 1 only the name of the second folder comes out. What happens is that I have the main folder that is "Advisors" and inside that folder...
  18. S

    Copying Folders without subfolders and without files

    Is there a VBA code that would allow me to select folders in a directory and copy to another directory without copying over the subfolders and the files? Thanks :)
  19. T

    Looping through each file in two different folders and extracting data to a new workbook

    Hello everyone, I am very new to VBA (I have used it for some minor tasks), but at the moment I am faced with a challenge and I am not sure how to approach it. The task is as follows: 1). I have two folders (two different locations) which contain a number of .csv files (200+) 2). What I need...
  20. M

    dir function to crawl folders and list files

    I have code to list the content of one directory's files but need to list the files in multiple directories that are listed in row one of my spreadsheet (ex: m1, m2, m3) where m1, m2, m3 are folders. I cannot get the dir function to use a variable in my loop to pull the text of m1, m2, m3 in...

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