BravoBravoAu
Board Regular
- Joined
- Nov 8, 2011
- Messages
- 64
- Office Version
- 2016
- Platform
- Windows
Hi all - thanks in advance for your consideration.
I first posed this question yesterday and got a great solution from @Yongle, but I've progressed my needs so have posted a new thread. I'm designing a workbook to update the way my team provides monthly updates to the boss - a shared workbook with a worksheet for each month of the year. Each row will refer to a task assigned to the ten staff in my work area and around ten columns containing relevant categories about the task (eg who its assigned to, what has happened, what you're planning next month), a column for the boss to write comments against each task and then columns to record when and who made the entries. The format in each worksheet will be the same, however will clearly be blank in future worksheets until that month rolls around. Preserving the point in time information is important so overwriting of cells (e.g. "progress this month" in column D) will not occur.
Yesterdays solution to providing Date, Time, Application.UserName solved this issue, however in considering how to apply to only select rows, I wonder if a macro button might be best, conditional on cells being selected. Of interest, I'd like this to apply to column D (columns E:G) and column I (columns J:L) in the below example.
[TABLE="class: grid, width: 1000"]
<tbody>[TR]
[TD]1[/TD]
[TD]Task ID[/TD]
[TD]Assigned to[/TD]
[TD]Date assigned[/TD]
[TD]Progress this month[/TD]
[TD]Progress recorded [date][/TD]
[TD]Progress recorded [time][/TD]
[TD]Progress recorded [user][/TD]
[TD]Progress next month[/TD]
[TD]Boss oversight[/TD]
[TD]Oversight [date][/TD]
[TD]Oversight [time][/TD]
[TD]Oversight [user][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]AG1[/TD]
[TD]A.Brown[/TD]
[TD]1 Jan 18[/TD]
[TD]Almost complete.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Review file and finish report.[/TD]
[TD]Provide report by end of week 3.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]AG2[/TD]
[TD]A.Brown[/TD]
[TD]12 Apr 18[/TD]
[TD]In abeyance.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Prioritise task and request information from stakeholders.[/TD]
[TD]Understood no activity. Please address next month.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]BG1[/TD]
[TD]P.Green[/TD]
[TD]30 Jan 18[/TD]
[TD]Requested extensive information about stakeholder activities.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Follow up requests and compile when received.[/TD]
[TD]Good work addressing all of the stakeholders.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If I wanted to apply the Date, Time, Application.UserName for only rows 2 and 4:
Secondly, then, when the boss enters his input into column I, he can do the same:
Appreciate any help you can provide - VBA is okay, provided my simple mind can follow. Any additional views on integrity of the entries once recorded are welcomed.
Thanks geniuses!!
I first posed this question yesterday and got a great solution from @Yongle, but I've progressed my needs so have posted a new thread. I'm designing a workbook to update the way my team provides monthly updates to the boss - a shared workbook with a worksheet for each month of the year. Each row will refer to a task assigned to the ten staff in my work area and around ten columns containing relevant categories about the task (eg who its assigned to, what has happened, what you're planning next month), a column for the boss to write comments against each task and then columns to record when and who made the entries. The format in each worksheet will be the same, however will clearly be blank in future worksheets until that month rolls around. Preserving the point in time information is important so overwriting of cells (e.g. "progress this month" in column D) will not occur.
Yesterdays solution to providing Date, Time, Application.UserName solved this issue, however in considering how to apply to only select rows, I wonder if a macro button might be best, conditional on cells being selected. Of interest, I'd like this to apply to column D (columns E:G) and column I (columns J:L) in the below example.
[TABLE="class: grid, width: 1000"]
<tbody>[TR]
[TD]1[/TD]
[TD]Task ID[/TD]
[TD]Assigned to[/TD]
[TD]Date assigned[/TD]
[TD]Progress this month[/TD]
[TD]Progress recorded [date][/TD]
[TD]Progress recorded [time][/TD]
[TD]Progress recorded [user][/TD]
[TD]Progress next month[/TD]
[TD]Boss oversight[/TD]
[TD]Oversight [date][/TD]
[TD]Oversight [time][/TD]
[TD]Oversight [user][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]AG1[/TD]
[TD]A.Brown[/TD]
[TD]1 Jan 18[/TD]
[TD]Almost complete.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Review file and finish report.[/TD]
[TD]Provide report by end of week 3.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]AG2[/TD]
[TD]A.Brown[/TD]
[TD]12 Apr 18[/TD]
[TD]In abeyance.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Prioritise task and request information from stakeholders.[/TD]
[TD]Understood no activity. Please address next month.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]BG1[/TD]
[TD]P.Green[/TD]
[TD]30 Jan 18[/TD]
[TD]Requested extensive information about stakeholder activities.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Follow up requests and compile when received.[/TD]
[TD]Good work addressing all of the stakeholders.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If I wanted to apply the Date, Time, Application.UserName for only rows 2 and 4:
- select those two cells where progress is recorded (for instance D2 and D4)
- press the macro button (in the header: D1)
- and as a result, apply the Date, Time, Application.UserName in cells E2:G2 and E4:G4
Secondly, then, when the boss enters his input into column I, he can do the same:
- select those three cells where his input is recorded (for instance I2:I4)
- press the macro button (in the header: I1)
- and as a result, apply the Date, Time, Application.UserName in cells J2:L4
Appreciate any help you can provide - VBA is okay, provided my simple mind can follow. Any additional views on integrity of the entries once recorded are welcomed.
Thanks geniuses!!
Last edited: