OneTimeUser
New Member
- Joined
- Apr 16, 2021
- Messages
- 5
- Office Version
- 2016
- Platform
- Windows
Hi Experts,
I want to be able to click a button in my worksheet and tell excel to copy the data/formulas/formatting to a new line, inserted directly below my currently selected line. However I only want the data/values that are held in the row from cells J:AB to be filled down, as the other fields are variable.
So the code needs to say:
1. Add new line in table below currently selected row (not at the end of the table)
2. New line must retain all formatting and formulas from currently selected row
3. Fill down all data for columns J:AB to the new line from currently selected row
I have never done any sort of coding and have just been dabbling in what I can self teach through forums, so if anyone would be so kind as to no only help with the code, but explain as it goes along I would be forever grateful to you!
I want to be able to click a button in my worksheet and tell excel to copy the data/formulas/formatting to a new line, inserted directly below my currently selected line. However I only want the data/values that are held in the row from cells J:AB to be filled down, as the other fields are variable.
So the code needs to say:
1. Add new line in table below currently selected row (not at the end of the table)
2. New line must retain all formatting and formulas from currently selected row
3. Fill down all data for columns J:AB to the new line from currently selected row
I have never done any sort of coding and have just been dabbling in what I can self teach through forums, so if anyone would be so kind as to no only help with the code, but explain as it goes along I would be forever grateful to you!