..Also. Do you have any idea for how can we use the named range(Holidays) in the code? I asked this because if we use the code for many months-years then we have to type 20-30 holidays inside the code.
Already did. Look at the code, it is different.
..and also in column E i get 08:00 As result for all the names except name A).
They are your formulas, either fix them or if you wanted the values copied over you should have said so in the first place. You can replace this line to paste values
I am still curious what you were doing as to why it wasn't working for you but was working for me.
Bookmarks