Macro search for folder, and load data from files

szyle

New Member
Joined
Feb 10, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,
I would like to have some help from you, I am not in the macro thing , but I would like to create a macro for a file. Which can search in a folder multiple excel files and from them extract some data. I attached the files what I have created and if somebody can help me with it I would appreciate it a lot. I have a little business where I get a lot of invoices which are same, and after a while I have to search some data from them and I have to look after a hundred of files.
Invoice search.xlsm
ABCDEFGHI
1
2
3SearchField
4Name
5
6
7
8
9
10OrderPosBezeichnung descriptionRm Nr.Artikel-Nr article-noAnzahl quantityZeit/Stück time/pice (hour)Zeit/Gesamt time/total (hour)
11
12
13
14
15
16
Dashboard
Cells with Data Validation
CellAllowCriteria
E4ListID; Name



Invoice.xlsm
ABCDEFGHI
16PosBezeichnung descriptionRm Nr.Artikel-Nr article-noAnzahl quantityZeit/Stück time/pice (hour)Zeit/Gesamt time/total (hour)Preis/Stück price/pice (€)Preis/Gesamt price/total (€)
171Welle5991422467504451
182Fuss5992426470173524
193Adapter6001919463559404
204Welle5999984471283824
215Stopfen6001402472007771
226Stopfen6001405472007771
237Bolzen5941188462089484
248Bolzen5996583462089484
259Blech5931379462232841
2610Klotz5931380462271401
2711Schraube5946524462725181
2812Klemmstutzen blind5995282465246442
2913Distanz5963491470741421
3014Schlauchnippel5995286471871082
3115Welle5989849460177501
3216Bolzen5947518463512291
3317Objekthalter58783454661478712
3418Bolzen5958775466533193
3519Bolzen5947484467384782
3620Flansch5979477467555281
3721Schlauchnippel5889162467845431
3822Aufnahme5921191470562034
3923Aufnahme5921184470562032
4024Aufnahme5921158470562038
4125Aufnahme5921202470562032
4226Welle5983934471291942
4327Klotz5917180471573921
4428Klotz5917137471573921
4529Welle5988065471582911
4630Welle5988070471959872
4731Lagerflansch5905590460349671
4832Mitnehmer5959982SAM8061-MA802.001
4933FLANSCH5944753SWS6005-G-009.001
5034Stopfen5999340464145195
5135Mutter6003626464352421
5236Stellring5983828466303302
5337Schlauchnippel6003196466764072
5438Welle5999608467182361
5539Halter5965725467618621
5640Klotz5980496469348911
5741Gewindebuchse5882577469681054
5842Gewindebuchse5882627469681054
5943Halter5990516470322411
6044Platte5963495470743641
6145Halter5962588471054154
6246Bolzen5937301471755772
6347Bolzen5939422471755772
6448Distanzbolzen5959981471802452
6549Anschlussstueck5976878471896082
6650Klemmstueck5979263471757931
6751Bolzen5977961471324811
6852Bolzen5977962471324871
6953Bolzen5977963471324911
7054Schraube5977967471335722
7155Schraube5977969471337411
7256Bolzen5997180471941041
7357Welle5995432471800381
7458Welle5995484471800381
7559Welle5995433471800431
7660Welle5995485471800431
7761Distanzbolzen5996542471918956
7862Fuehrung5992074471897461
7963Exzenterbolzen5946570460385016
8064Halter5947789460600718
8165Halter5947810460827941
8266Halter5947811460827951
8367Halter5947812460827961
8468Halter5947813460827971
8569Halter5947814460827981
8670Halter5947815460827994
8771Hebel5993675462203021
8872Flansch5959110462382672
8973Rohr5941521462500621
9074Lagerklotz5949919MES6005-BA828.002
9175Lagerklotz5947696MES6005-BA828.002
9276Lagerklotz5947658MES6005-BA828.002
9377KIPPHEBEL5944785SWS6005-H-013.002
9478Welle5900798464125531
9579Platte5904434465174511
9680Platte5959206465369671
9781Platte5959091466052111
9882Distanz5947123466164801
9983Halter6001839466507784
10084Platte5994167467134052
10185Halter5998481467150841
10286Schraube5880362467150601
10387Anschlussstueck5932908467386771
10488Bolzen5981315467760971
10589Platte5988945467689821
10690Platte5988909467689821
10791Platte5988884467689821
10892Platte5988846467689821
10993Anschlussstueck5984105467862222
11094Anschlussstueck5984098467862222
11195Platte5952902467911311
11296Leiste5992469468157701
11397Platte5991865468477381
11498Platte5991853468477381
11599Verteiler5995518468900302
116100Bolzen5943670469154731
117101Hebel6005395469519511
118102Bundbolzen5872791469288612
119103Platte5995411469672011
120104Platte5995462469672011
121105Platte5995414469708101
122106Platte5995465469708101
123107Klotz5932834470268941
124108Leiste5993395470234581
125109Platte5999133470242506
126110Lagerklotz5994456470715351
127111Platte5994402469777691
128112Platte5963399470631512
129113Bandkoerper5932573471303821
130114Stutzen5992072471458261
131115Lagerung6003290471491195
132116Halter5890682471205741
133117Leiste5996803471726102
134118Leiste5996777471726102
135119Klemmstueck5984027471757931
136120Klotz5995338471816091
137121Klotz5995391471816091
138122Welle5988027471263482
139123Platte5988030471263681
140124Platte5988028471263682
141125Platte5988033471406781
142126Platte5992373471974802
143127Platte5931391462527611
144128Klinke5994569466588842
145129Adapter5957177467690652
146130Klotz5973923468446391
147131Klotz5973924468447191
148132Leiste5996813471736632
149133Leiste5996788471736632
150134Platte5988026471263471
151135Platte5988050471407721
152
Bestellung
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D17:D151Cell ValueduplicatestextNO
 

Attachments

  • template for search.jpg
    template for search.jpg
    151.4 KB · Views: 4

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,215,123
Messages
6,123,182
Members
449,090
Latest member
bes000

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