+ Reply to Thread
Results 1 to 5 of 5

Interchange multiple cell contents

  1. #1
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    105

    Interchange multiple cell contents

    Hi,
    I need to swap contents of A2:A14 to Q2:Q14 and vice versa simultaneously.

    I have found code that wikl swap A2 to Q2 and vice versa but I have various different selections to do and doing 2 cells at a time is taking forever.

    Any help gratefully recieved.

    thanks
    Libby

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Interchange multiple cell contents

    Please elaborate on the following:

    What drives the swap in the first instance ?

    How are the affected cells being populated/altered ? (ie constants, formulas etc...)

    By "I have various different selections" presumably you mean you wish to apply similar logic to other "pair areas" ?

    If so, where ? ... and: Are there any differences in the underlying mechanisms between the areas or are the answers to the first two questions identical for all affected "areas" ?

  3. #3
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    105

    Re: Interchange multiple cell contents

    It is exported from outlook and the location is in the subject line and vice versa. Some are correct and some are wrong.

    I have attached the sheet.
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Interchange multiple cell contents

    We still don't know

    a) what determines if a swap of A & Q is necessary in the first instance

    b) how you intend to invoke the swap (apply to selection at run time for ex.)

    I would suggest you repost the sample with both "before" & "after" sheets and where changes occur between the two specify why.

  5. #5
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    105

    Re: Interchange multiple cell contents

    If column A has where a course is rather than the type of course it needs to be swapped with Column Q.

    If I had before and after sheets then I would have the sheet fixed.

    I will remove all that are ok so that it is a complete swap of all column A and all column Q.
    Thanks
    Libby
    Attached Files Attached Files

+ 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