Garling_Beard
New member
- Local time
- Today, 13:17
- Joined
- Jul 8, 2010
- Messages
- 4
I am working with some data that needs to create duplicate rows if a cell has any number greater then 1. Here is an example; I have a column named 'Number of Rooms', if the entry is 3, I need the specific columns duplicate 3 times in new rows under the existing row.
I need it to show:
I have a VBA Macro in Excel that will copy the rows and add rows with all info after the 'Number of Rooms' column, but I would like to try and do this in Access.
Code:
Number of Rooms Hotel User Check In Check Out Date Entered
3 Hilton Tom 10/10/10 10/12/10 6/5/10
I need it to show:
Code:
Number of Rooms Hotel User Check In Check Out Date Entered
3 Hilton Tom 10/10/10 10/12/10 6/5/10
3 Hilton 10/10/10 10/12/10
3 Hilton 10/10/10 10/12/10
I have a VBA Macro in Excel that will copy the rows and add rows with all info after the 'Number of Rooms' column, but I would like to try and do this in Access.
Last edited: