Copy from multiple files cells adjacent to specific word

Elena91

New Member
Joined
Oct 24, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

I got about 100 excel files that are tables converted from PDF.
They contain two data I am interested in copy in a unique file.
I would like to use a macro that:

1) goes through different files
2) searches for two specific words
3) copies the cell adjacent to the right of the two words I look for.

The cells I want are placed in different positions through all the different files.

I tried to add few lines in the following code, but no success... Searching Through Many Workbooks (Microsoft Excel)

Thanks a lot, to those who will help me :)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
searches for two specific words
Where would these two words be? like where are the lookup values?
and the ranges to search in? would you care to share some data samples for me to work with and better understand your needs
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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