Hi,
I was wondering how to write some vba code that would insert a given amount of rows depending on the value of a specific cell.
Example:
If cell value is “control” then insert four rows below
If cell value is “pc1” then insert two above and two below
i would greatly appreciate it if somebody could explain how to do this. Thank you.
I was wondering how to write some vba code that would insert a given amount of rows depending on the value of a specific cell.
Example:
If cell value is “control” then insert four rows below
If cell value is “pc1” then insert two above and two below
i would greatly appreciate it if somebody could explain how to do this. Thank you.