Deleting all instances of # + 1-3 additional numbers accross a workbook

mpouliot8168

New Member
Joined
Feb 10, 2012
Messages
9
Hello,

This is my first post. I have a report that is exported from Sharepoint that gives me these item numbers that look like this

Item X #80; Item Y #126; Item Z #1

I would like to run a marco that would get rid of the # + the number that follows. The numbers can range from 1-1000. The result would look like this:

Item X; Item Y; Item Z

I would like to have this apply to the entire workbook not just the worksheet. Also this needs to run until all instances of the # + number removed. Then I would like to have a Msgbox appear that says that its has been completed. Thank you in advance for your replies!
 
Last edited:

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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