• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Copying formulas, formatting etc automatically

Hi :)

I have a hidden row at the top of my sheet that has all the formatting, formulas, data validation etc applied, currently when I creating new rows (and not able to drag down due to end of data) I copy from this hidden row and paste in the new row create after the last line of data (and then drag down).

Is there a way using VBA to automate this so everytime a new row of data is added excel copies from my hidden row and pastes to the next empty to ensure I no longer have to keep dragging or copying and pasting?

And i'm avoiding using tables as its a shared workbook

Thanks in advance
 
Hi vletm,
I thought it maybe easier for VBA to search for the last empty row with no data in and add all the formatting etc to this last empty row.

So the sheet starts blank, apart from the headers (row 2) and the hidden row (row 1). So Id need the code to copy formatting, formulas, data validation from row 1 to row 3 which is currently blank. Now when the user adds information into row 3 then row 4 gets filled in.

Ill sort a sample file out once I have a few spare mintutes
 
Hi !
I have a hidden row at the top of my sheet that has all the formatting, formulas, data validation etc
As any hidden row is not necessary just using an Excel table
'cause that's yet automatic when adding a new row to an Excel table …
 
Back
Top