I7 920 D0 @ 4,0 / Asus P6T Deluxe V2 / 3x2 GB OCZ Gold @ 1600 C8 / HD5770 1 GB Sapphire / 2x Spinpoint F3 1TB (raid1) / Scythe Mugen 2 / Antec 300 / CM real power 620M / Dell 2408
Iets als:
code:
1
2
3
4
5
6
7
8
9
| Function f zoekResultaat=bronRange.find(zoekwaarde) If Isnull(zoekResultaat) then f = eenWaarde else f = ietsAnders end if End Function |
De oever waar we niet zijn noemen wij de overkant / Die wordt dan deze kant zodra we daar zijn aangeland
Of gewoon met foutafhandeling:
Visual Basic:
11
12
13
14
| on error resume next value = Application.WorksheetFunction.VLookup(sheet1.Cells(j, 4), sheet2.Range("A:C"), 2, False) if err.number<>0 then value="default" on error goto 0 |
Vitamine D tekorten in Nederland | Dodelijk coronaforum gesloten
Met de foutafhandeling van pedorus werkt dit perfect!
Bedankt voor de replies
Bedankt voor de replies
I7 920 D0 @ 4,0 / Asus P6T Deluxe V2 / 3x2 GB OCZ Gold @ 1600 C8 / HD5770 1 GB Sapphire / 2x Spinpoint F3 1TB (raid1) / Scythe Mugen 2 / Antec 300 / CM real power 620M / Dell 2408