+ Reply to Thread
Results 1 to 5 of 5

Address Format Fix

  1. #1
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Address Format Fix

    Hi,

    Hope you can help. I am looking for a simple VBA code to look in column A and when there is only a number to combine it with column B then shift the contents back to column A. If there is a number and text in column A then skip until only a number is found.

    So in the attached file the first 3 columns are the test data and the columns E to G are how I want it to look after.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Address Format Fix

    VBA? This could be done easily with a formula too. Shall I move this to the VBA sub-forum. BtW... is Bishop's Stortford a mistake?

    Its move from one column to another.... that is, not the town itself. I'm sure it's delightful.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Address Format Fix

    Give this a try

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: Address Format Fix

    Yes, its addition to a longer VBA. If it's in the wrong forum then yes please if you can move it.

  5. #5
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: Address Format Fix

    That worked perfectly, thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Match incomplete or mixed street/physical Address to a clean address format
    By vivek.budhram in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-21-2018, 03:31 PM
  2. Mailing address format formula or format
    By compgeek1979 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-04-2015, 11:03 AM
  3. Name, Address format help (all in one column)
    By ThenThereWasExcel in forum Excel General
    Replies: 3
    Last Post: 10-01-2014, 04:48 PM
  4. Excel Address format
    By carl290666 in forum Excel General
    Replies: 2
    Last Post: 07-06-2010, 08:12 AM
  5. how to format an address
    By gramcc in forum Excel General
    Replies: 2
    Last Post: 12-03-2007, 12:28 PM
  6. [SOLVED] ActiveCell Format Same as Target.Address Format
    By Paige in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2005, 05:05 PM
  7. [SOLVED] IP address format
    By shois in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2005, 07:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1