find file

  1. M

    Macro Exiting External Before Finished

    Hello, I created a macro to open up a file location, move to the search box, paste text that was entered through an input box, then select the file and open it (a pdf). I am having issues where it doesn't actually enter the Windows Explorer when it opens it and ends up pasting the MO text in...
  2. P

    Macro finds biggest file in folders then attach in Outlook

    Hi All, this is my first post. I'm really stuck on this one: I want my macro to find the biggest Excel file in a specified folder and its subfolders (say Music folder), then attach it to an email. Found this beautiful code made by Mohammad Basem on this forum: it checks the folder and list...
  3. S

    Importing Data from one Workbook(shared accross a network) into a Master Stat Workbook

    Hello All. First Time here and very limited with VBA code. I am an administrator for a Police Department and I use excel spreadsheets to keep statistics of officer's daily activities. So I made up a spreadsheet called a patrol log that they each file out electronically and save to a folder on...
  4. M

    Find files in subdirectory of a subdirectory

    I used code from Microsoft Support (Method 2) to search through subdirectories and find a specific file. It works if I make the path specific enough so that my file is in the subdirectory of that path. However, I would like to generalize my search a bit more and name my path as a folder that is...
  5. S

    Search and open an EXE file

    I need to open one or other exe file if it is installed If the PC is 32 bit the file will be in C:\Programs Files\myfolder\filename.exe If the PC is 64 bit the file will be in C:\Programs Files(x86)\myfolder\filename.exe So far I have tried a combination of the following using the Shell...
  6. S

    Save .xlsm using PC name if file does not exist

    Hello All, This will be my 1st posting and I would greatly appreciate some advise on the best way to handle what I am attempting to accomplish. Basically, I would like to open an excel workbook file (.xlsm) and rename the file using the PC name ("Book1" & PC_Name). Obviously, I do not want...
  7. S

    Find File, Save As and Close

    Hi All I have a workbook with some code which searches the C: for certain files and opens them. I am then trying to save them to another directory and close them. The problem with the code below is it saves the file that is used to search for the files, not the ones I have searched for and...
  8. G

    Excel VB; find, copy, and rename file problem

    Hi, I am relatively new to Excel VB and have been stumped. I need help writing code that finds a file of any type e.g. (xls, xlsx, doc, docx, ppt, txt) copies and renames it with the appropriate extension to another specified folder. In addition, the user will not be allowed to find the file to...

Some videos you may like

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top