VBA Addresses to be spilt into multiple columns such as add 1, add 2, City, County, PostCode

vbanewbie68

Board Regular
Joined
Oct 16, 2021
Messages
171
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Sir or Madam

Please see my screenshot below. With your help please I need to know how this column A be split into new (insert) multiple columns such as add 1, add 2, addr 3, City, County, Postcode and even country as well. Your help on this is much appreciated. Also I need to know how to remove commas if numbers are showing?

1651672144091.png


I look forward to hearing from you soon.

Best regards

Vbanewbie68
 

Attachments

  • 1651672110704.png
    1651672110704.png
    8.8 KB · Views: 4

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Yes you can use the option text to columns and select the option use the comma as your delimiter
1651678932909.png

You can then tidy the data up
 
Upvote 0
Solution
Thank you for this. I know this can do but would like to create vba codes for this please? Regards
Turn on your Macro Recorder, and record yourself performing the steps Kerryx proposed, and you will have VBA code that does that.
 
Upvote 0
Turn on your Macro Recorder, and record yourself performing the steps Kerryx proposed, and you will have VBA code that does that.
Thank you for the information. I will follow your instructions, macro recorder. Best regards
 
Upvote 0
Turn on your Macro Recorder, and record yourself performing the steps Kerryx proposed, and you will have VBA code that does that.
Thank you Joe4 and Kerryx looking into this issue and I am pleased that I am with the outcome of it. Again many thanks. Best regards
Vbanewbie
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,215,140
Messages
6,123,266
Members
449,093
Latest member
Vincent Khandagale

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