+ Reply to Thread
Results 1 to 7 of 7

Swap data between two rows

  1. #1
    Registered User
    Join Date
    06-27-2019
    Location
    israel
    MS-Off Ver
    2007
    Posts
    2

    Swap data between two rows

    hello !

    need help to find a way to replace certain cells between two rows. in excel vba

    thanks for help
    Last edited by asrafshimon; 06-28-2019 at 07:02 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Swap data between two rows

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: Swap data between two rows

    Please Login or Register  to view this content.
    try that
    Last edited by dmcgov; 06-27-2019 at 09:47 AM.

  4. #4
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,513

    Re: Swap data between two rows

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Hi !

    Quote Originally Posted by asrafshimon View Post
    need help to find a way to swap data between two rows in excel vba
    As it depends on your data layout …
    But it could be easily achieved without any loop just with no more than 5 codelines !

  6. #6
    Registered User
    Join Date
    06-27-2019
    Location
    israel
    MS-Off Ver
    2007
    Posts
    2

    Re: Swap data between two rows

    First thanks for the answer.
    But my intention was to replace certain cells between two rows.
    If you can help I will be very happy

  7. #7
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    As I yet wrote :
    Quote Originally Posted by Marc L View Post
    As it depends on your data layout …
    And now at it seems to be no more a swap so it depends too on a complete crystal clear explanation of your need !

+ 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. [SOLVED] Swap contents of rows in an array
    By engineerlady in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2013, 10:20 AM
  2. Swap two rows in a table
    By hezcal11 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2011, 05:26 PM
  3. Conditionally copy rows and swap values...
    By circularlogic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2011, 03:59 PM
  4. How to swap rows/columns??
    By Ima in forum Excel General
    Replies: 1
    Last Post: 09-22-2009, 11:02 PM
  5. Swap Column to Rows
    By sky in forum Excel General
    Replies: 5
    Last Post: 09-05-2006, 11:50 AM
  6. [SOLVED] Excel should let you select 2 rows, right click, and SWAP them
    By DG_Crewdson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2006, 02:15 PM
  7. swap rows and columns
    By rudyh in forum Excel General
    Replies: 3
    Last Post: 12-14-2005, 09:30 PM
  8. [SOLVED] How to swap rows and columns?
    By no@spam.com in forum Excel General
    Replies: 5
    Last Post: 09-21-2005, 04:05 AM

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