Hi guys, apologies for the length of this description but I felt it necessary to get all (or most) of the info over...
As per my other thread today, I am putting together a labour workload sheet that is laid out in a grid of dates along the top and personnell names down the left. I have a VBA code set up within the grid (shown below) so that on double clicking any cell within this grid, three msgboxes in total appear (one after another following data entry). The first msgbox is the 'site reference', which can be multiple entries up to a total of approx 12, all seperated by commas. The second msgbox is for the company job number, which again can be multiple entries and the third box is the hours spent on site, again multpile entries can be made.
I can't attach sheet due to filesize even when compressed, however my sheet is laid out so that out of every 3 rows within the grid, the two lowest rows are set to row height zero (effectively hiding them from view) and the code takes the data from the last 2 mgsboxes and inserts it into these hidden rows/cells directly below the active cell (data from first msgbox is inserted into current active cell). This hidden data is then viewed via a completely seperate piece of code that references these hidden cells in addition to the active cell in another section of the sheet. Please see code below which works fine when initially entering data:
My issue with this code is if the data entered needs to be edited at a later date, you must double click the cell again and re-enter everything! Is it possible to create some sort of message box so that when double clicking the cell the msgboxes/forms that pop up still contain the previously entered data that can simply be edited rather than having to re-enter everthing and potentially missing something off?
Any pointers would be greatly appreciated! Thanks in advance! Any more info needed please just ask...
Bookmarks