Been searching around for a while now without any answer. I'm creating an automatic schedule that calculates working hours and so forth for my employees. Instead of creating new rows at the bottom of the table manually, putting in all the funktions and style the cells with specific formats I want a macro to do this.
I have created a macro but, the problem is that everytime it is executed, it starts of course from the place where I created it in the first place.
So, the macro should somehow search for the last place in the table. Copy the two last and create new ones including the if-statements, cell format and styling.
The second macro I need to create is a toggle function where the macro searches for the rows that containts the working hour (underneath the times) and hides or unhides the rows. Is that possible?
I really hope that someone can help me! Thanks! /Martin
Screenshot: http://www.martinhult.se/screenshot.jpg
File: http://www.martinhult.se/schema_mall2013_macro.xlsm
thanks!
// martin
Bookmarks