insert blank row below, in a specific range base on a value in VBA

Kobe121194

New Member
Joined
Mar 31, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Web
hi I've been pulling my hair out on this. so I have a comment box that I've been trying to format, when a user go into the file and write a comments in the comment bos its usually pretty long to where it will not fit in a print range to solve this manually I have to go in and add insert a row below each comment and text wrap it in order for it to fit in the box. my goal is to automate this process to where it automatically add a row below each commentary and text wraps it inorder for it to fit in the print range. The issue I've been run into is that most scripts I've seen use entire row function while I only need to add rows to columns E to G after each comment and the items in columns A to C should not have rows insert them. Please someone help me because I've been struggling with this
VBA Code:
[CODE=vba]
[/CODE]

Current problem:
1648763795436.png



Goal :
1648763865628.png
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,214,981
Messages
6,122,565
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top