Hi Jon,
Glad I caught this thread. First, I will include code that will hopefully meet your needs with regards to row 20:
Next, I will make a few comments about the spreadsheet. First, it looks great and it's very well put together. Unfortunately, due to certain limitations in Excel (unless changes have been made in newer versions), the command buttons do not fully interface with the spreadsheet. To be more specific, simply because the "Request" button sits in row 20, excel doesn't recognize it as a button on row 20. With that said, there's not true method of creating one macro that would work with each button. You'd have to create one macro per button to account for each row. Of course, that is both time consuming and will result in a bloated spreadsheet.
You can use a worksheet change event to trigger the macro, then you can capture the row that is being queried. For example, if a user double clicks on the actual date (ie, cell A20), a macro can be fired that acounts for the PTO
Bookmarks