+ Reply to Thread
Results 1 to 2 of 2

Paste Special Transpose does not update cell references as expected

  1. #1
    Registered User
    Join Date
    03-02-2016
    Location
    Columbus, OH
    MS-Off Ver
    2010
    Posts
    1

    Paste Special Transpose does not update cell references as expected

    I am writing a macro that copies and transposes cells containing formulas with absolute column reference, but not absolute row references; e.g. $C3. I use paste special transpose expecting it to update the row numbers, and it does not. Instead it populates several rows with the same formula referencing $C3. I notice that paste special works the same way from the menu. How do I make the row references update?

  2. #2
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Paste Special Transpose does not update cell references as expected

    I would take the formula's cell reference and convert it to long datatypes: row = Range(cell).row/column = Range(cell).column, then get a new cell: newcell = Range(column,row), with transposed row column numbers, and remove the absolute referencing if required with something like newcellarray = split(newcell,"$") and re-build the newcell string.

    Maybe there is a better solution, but I'd write a macro to do that -- should be about 50 lines.

    Unless someone has a better idea and you still need help, please post an example (simplified) worksheet with a tab containing desired results and a tab containing the original formulas.
    <---If my answer helped, please click *

+ 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. Paste special Transpose Not working
    By learningkid0808 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2013, 02:48 AM
  2. Excel 2007 : Paste special link and transpose
    By Art Vandalaye in forum Excel General
    Replies: 0
    Last Post: 02-21-2011, 11:44 AM
  3. Replies: 2
    Last Post: 02-19-2007, 04:53 PM
  4. Cut - Special paste - Transpose ?
    By Jacquesvs in forum Excel General
    Replies: 1
    Last Post: 01-26-2007, 03:13 AM
  5. [SOLVED] Paste Special / transpose
    By Ron Carr in forum Excel General
    Replies: 2
    Last Post: 02-24-2006, 02:15 PM
  6. [SOLVED] [SOLVED] When I special paste and transpose....
    By sml in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-11-2006, 08:55 PM
  7. [SOLVED] Paste Special - Values - Transpose
    By J in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-06-2005, 12:25 PM
  8. Paste Special Transpose
    By Brian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2005, 11: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