OMFG... míchat funkce excelu do VBA, to se jen tak nevidí..Předpokládám, žes na ten link ani neklikl..