openfile

  1. Eawyne

    [Lists] Updating a column's content from another List when adding an entry

    I've been toying around with Lists as my boss tasked me to update our data input from Excel. Lists is cleaner-looking and more corporate. I can get behind that. Thing is, in my Excel file, I used macros extensively, but one key element was to check in other sheets when data was entered, and if...
  2. A

    Open file based on Partial file name

    Hello guys, I written a code where it will open a file based on Prefix of a file name. But I need to open a file based on certain file name matches. Example: If file name is RSNOS_20200906_Summary and if RSNOS_Summary matches with the file name then macro should open the file. If file name is...
  3. I

    Do while loop returns run time error 1004

    Hi all, I am new to this forum and this is my first post here since I have been searching through the web but cant find an answer:) I have an excel called NAME and the first and second column looks like the below table, essentially the name and date is used to construct a set of folders and the...
  4. L

    Range vs Ranges in vba

    Hi What is the difference between them? Not sure why we have 2. I noticed there are many things like that SortField SortFields and OpenFile vs OpenFiles. Thank you.
  5. H

    Script is not opening PDF files.

    Hello Again, I have adopted below code which I have found on the web but it is not working. What I am doing here is trying to do here is searching specific or part of file name of a PDF and open. Uptill searching is working but it is not opening the PDF file. Below is the script. any help is...
  6. L

    how to open multiple file text and insert the data to sql server

    Hello, I have a case here, I want to open multiple text (TXT) files using vba macros, then smoothed the data first before being transferred to sql server, here's my code to open multiple file, but i still have problem in looping process.. the problem is, it's only open the first file and i...
  7. P

    Can I use Inpurtbox to give a file path to open specific file?

    I have a code below: --------------------------------------- 00 Dim filename As String 01 filename = "C:\ExcelVBA\test.xls" 02 Dim sn As Object 03 Set sn = Excel.Application 04 sn.Workbooks.Open filename 05 ' sn.Workbooks(filename).Close 06 Set sn = Nothing...

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