+ Reply to Thread
Results 1 to 2 of 2

Code for swaping columns

  1. #1
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Code for swaping columns

    hi Friends,

    i need small code for swapping columns. how to swap my columns C to B . C column should be empty after swapping.range is C4 : up to end of C column to B4:up to end.

    Thanks.
    Last edited by structo; 09-02-2016 at 01:20 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: Code for swaping columns

    Have you considered a simple cut and paste?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Replies: 3
    Last Post: 06-29-2016, 01:38 PM
  2. VBA Code to compare/match multiple columns in one sheet with multiple columns in another
    By cellsearch123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2016, 09:25 AM
  3. VBA code to hide filtered columns (simple table 5 rows / 6 columns wide)
    By e2010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2014, 02:41 PM
  4. [SOLVED] Use VBA code to insert 30 blank columns every 30 columns
    By tsamuels in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-02-2014, 11:02 PM
  5. Swaping and renaming columns macro
    By hugodevos in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2013, 09:04 PM
  6. Code selects entire rows upto one range and same code selects only columns for other.
    By sriharigk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2012, 05:19 AM
  7. KEYBOARD SHORTCUT FOR SWAPING OF SHEETS
    By resolver in forum Excel General
    Replies: 2
    Last Post: 05-06-2006, 06:25 AM

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