VBA for edit text and remove blank rows

Status
Not open for further replies.

oguztuna

New Member
Joined
Jan 9, 2016
Messages
9
I m finding out VBA for merging text with a space from below cells which has blank at the next column , and then remove the row that has blanks, as shown below.:confused:

First Form

1 1.500WT - PIPE SSAWL API 5L BE 30PPXC209620 7.0M
API-5L-X65M PSL-2 LTD
2 SCH80 - PIPE SSAWL API 5L BE API-5L-X65M 24PPXC209619 1.2M
PSL-2 LTD
3 SCH80 - PIPE SSAWL API 5L BE API-5L-X65M 18PPXC209617 2.3M
PSL-2 LTD
4 1.500WT - ELL 90 LR WLD MSSSP-75 (PSO) 30PCHB115451
BE A860 MSS SP75-WPHY-65
5 1.500WT - FLG WN MSS-SP-44 BE/RF CL 900 30PFWA2657091
A707-L5 CL4

<colgroup><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>

After Edit

1 1.500WT - PIPE SSAWL API 5L BE API-5L-X65M PSL-2 LTD 30PPXC209620 7.0M
2 SCH80 - PIPE SSAWL API 5L BE API-5L-X65M PSL-2 LTD 24PPXC209619 1.2M
3 SCH80 - PIPE SSAWL API 5L BE API-5L-X65M PSL-2 LTD 18PPXC209617 2.3M
4 1.500WT - ELL 90 LR WLD MSSSP-75 (PSO) BE A860 MSS SP75-WPHY-65 30PCHB115451
5 1.500WT - FLG WN MSS-SP-44 BE/RF CL 900 A707-L5 CL4 30PFWA2657091

<colgroup><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>

Many Thanks
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Status
Not open for further replies.

Forum statistics

Threads
1,215,987
Messages
6,128,134
Members
449,425
Latest member
NurseRich

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