I have an unformatted datasheet (from a non MS application) that I copy to Excel. With VBA I want to format the sheet so that it's easier to read.
So far I have came up with some of the code (see attachment) but could anyone help me with the missing parts?
The first sheet is the result of my code so far.
The second sheet is the unformatted data.
The third sheet is the desired situation.
Summarizing the desired situation:Thanks,
- I want to add a blank row between two rooms.
- Rooms should always have a grey filling and be underlined no matter what the roomnumber is.
- The cells in the Room rows should have a green filling except when there's a double booking. In that case it should be red.
- I want to add a row (first row) with the month name (e.g. August) and merge all cells for that month.
- I want to add a row (second row) for weeknumber (e.g. 33) and merge all cells for that week.
Paddy.