Selecting multiple files by browsing at once

vinmam123VBA

New Member
Joined
Dec 18, 2020
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi Friends,

Can you please help me with VBA code where I can select Multiple files at once by Browsing.

For example-
I have four files in one folder. Below are the file names(File names keep changing)

1.Source1
2.Source2
3.Source3
4.Source4


I need trying to come up with options where I can Browse and select these files something like below
Select file 1 -- Option to browse and select one file
Select File 2 -- Option to browse and select second file
Select File 3 -- Option to browse and select third file and so on
After these I need to make Changes in the files. For that I should be able to select the opened file through variable name(Because file names keep chaning)

For example-
Once I open all four files If I want to go to sourcefile3 and make some changes then I should be able to do it by activating this file by variable name

Regards,
Vin
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,214,909
Messages
6,122,189
Members
449,072
Latest member
DW Draft

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