+ Reply to Thread
Results 1 to 2 of 2

Copy multiple rows and columns from a workook (Transpose the rows ans multiply by -1)

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    4

    Copy multiple rows and columns from a workook (Transpose the rows ans multiply by -1)

    Dear Colleagues,

    I have workbook with many sheets. For each sheet, many rows and columns, I need to copy all rows and columns and transpose them then past in a new workbook. The transposed values are to be multiplied by -1. Then I need to copy and transpose the original cells and past them under the negative values. This means that I have symmetrical values (from negative to positive).

    I used the following code and it works well for all sheets except sheet1, attached Book1. What happened that it multiplies the cells by -1 and misses the last row, sheet Ouputs1 in Book2. I do not know why and I tried my best. I wondering if you could help me sorting this out?

    Please Login or Register  to view this content.
    Thanks for your time.

    Nawr
    Attached Files Attached Files
    Last edited by alansidman; 01-24-2014 at 06:20 PM. Reason: code tags added

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

    Re: Copy multiple rows and columns from a workook (Transpose the rows ans multiply by -1)

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (I have added them for you today. Please read all Forum Rules and comply in the future.)
    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. [SOLVED] Transpose Multiple Rows to Columns
    By pjscho in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2013, 10:00 AM
  2. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  3. Replies: 4
    Last Post: 03-08-2013, 09:49 AM
  4. Transpose every 64 rows into 64 columns with multiple rows
    By owlish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2012, 06:18 PM
  5. transpose multiple rows and columns
    By prawer in forum Excel General
    Replies: 2
    Last Post: 06-03-2009, 04:20 PM

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