Forum Discussion
George Brickfield
Nov 25, 2017Copper Contributor
Hello - trying to create macro to insert rows in a table based on a change in values in the table.
Hello,
I have a table of data (sample attached) I would like to create macro such that when the value in column A changes (e.g. the date), a row is inserted in the table.
Thanks
George Brickfield
Nov 26, 2017Copper Contributor
Id like to insert rows when the data in specific columns change. e.g. when the date changes Id like to insert row between the last row with date of day1 & first row of day2
Haytham Amairah
Nov 26, 2017Silver Contributor
Do you want it like this?
- George BrickfieldDec 03, 2017Copper ContributorYes - exactly - thanks
- Haytham AmairahDec 04, 2017Silver Contributor
To automate this strange task we need a code associated with an event so that the code does not trigger unless a certain range of cells is changed!
To my knowledge, an event of this kind is not found in Visual Basic for Applications (VBA) which is the Excel scripting language.I don't think I can help you.
Sorry about that.However, you can ask some VBA experts such as:
https://www.youtube.com/channel/UCXbicpVq_ALWG4ijPKsR7ZQ
https://www.youtube.com/user/ExcelCampus/featured
http://spreadsheetpage.com/
Someone might be able to help you in some way.