+ Reply to Thread
Results 1 to 4 of 4

Swap columns

  1. #1
    Registered User
    Join Date
    06-21-2011
    Location
    England
    MS-Off Ver
    2013
    Posts
    48

    Swap columns

    Hello,

    My data is comprised of 4 columns A B C D. What I want to do is to have A C B D (there are no labels on the top) My code works for the active sheet (recorded macro) but can't make it work for all the sheets of the workbook. This is what I have so far:

    Please Login or Register  to view this content.
    Could anyone help me how to do this work?

    Thanks in advance
    Last edited by Costasg; 08-04-2011 at 03:28 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Swap columns

    Please Login or Register  to view this content.
    Use of the select without activating the sheet will cause problems. Neither are required though.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-21-2011
    Location
    England
    MS-Off Ver
    2013
    Posts
    48

    Re: Swap columns

    Any suggestions?

  4. #4
    Registered User
    Join Date
    06-21-2011
    Location
    England
    MS-Off Ver
    2013
    Posts
    48

    Re: Swap columns

    Many thanks Andy Pope

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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