changing parts of a Text String using Macro's Or VB

bloodmilksky

Board Regular
Joined
Feb 3, 2016
Messages
202
Hi Guys, I hope you are all well?

I was just wondering if anyone can help me with the below question. I have 3 different customers each with their own label but the same information follows that label like below.

Customer A

red+550075110
red+660075110
red+550
red-550075110
red-660075110
red-550

Customer B

blue+550075110
blue+660075110
blue+550
blue-550075110
blue-660075110
blue-550

Customer C

yellow+550075110
yellow+660075110
yellow+550
yellow-550075110
yellow-660075110
yellow-550

these products are spreadacross 7 sheets and the option to select which customer you are ordering for would be on sheet 1. Does any one know how I would be able to use VBA to change these depending on the customer I selected on sheet 1.

any help would be greatly appreciated.

many thanks

Bloodmilksky ^_^
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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