I have a 2 column data with varying number of rows across the worksheets. All values in each worksheets are different and independent. The data consist of blank spaces and for each row with blank space, there are no values across their 2 columns. Now I need a VBA to copy the values in row 1 (the values are in 2 columns) and insert into the blank rows until the last blank row before the last row with data. And I want this to process across all worksheets minding that the data in these worksheets differs from each other.
For example
A B
1 4.4 5.4
2
3
4 4.2 6.7
Row 2 and 3 consist of blank spaces and I need fill in their respective 2 empty columns with values from row 1 (A1:B1). Also the fillings should not exceed the last blank row before the last row with data, that is row 4.
This should be done to the all worksheets in respect to the values in their first row to be used in filling their blank spaces.
For example
A B
1 4.4 5.4
2
3
4 4.2 6.7
Row 2 and 3 consist of blank spaces and I need fill in their respective 2 empty columns with values from row 1 (A1:B1). Also the fillings should not exceed the last blank row before the last row with data, that is row 4.
This should be done to the all worksheets in respect to the values in their first row to be used in filling their blank spaces.