+ Reply to Thread
Results 1 to 2 of 2

Using Copy/Paste Special > Transpose...seems to lose the macro functionality

  1. #1
    Registered User
    Join Date
    08-11-2012
    Location
    South Bend, Indiana
    MS-Off Ver
    2007
    Posts
    1

    Using Copy/Paste Special > Transpose...seems to lose the macro functionality

    I am using a macro-enabled single Excel 2007 sheet (attached) to input golfers' hole-by-hole scores and calculate their "Callaway" net score. The sheet works exactly as it should, but the orientation is awkward in that players names are along the top of the sheet (A, B, C,...) while their scores are entered vertically down the column under their names.

    I would like to "Transpose" the layout so players' names are listed down vertically (1,2,3,...) and hole-by-hole scores are entered left to right along a player's row.

    When I use Copy/Paste Special > Transpose, the layout looks good but I lose 2 aspects of the functionality that worked in the original sheet - the actual "Callaway" net score, and the conditional formatting of a "red" cell when the score value entered for a specific golf hole is greater than twice the course par for that hole.

    I have attached a .zip file with the original working Callaway Macro-enabled file named "Have" and the correctly formatted Macro-enabled file named "Want"... but while the "Want" file looks correct, you'll see that it neither calculates the net score nor shows the same red cells that show up in the original file.

    Any help with correctly formatting the second sheet ("Want") would be greatly appreciated -

    Happening44
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Using Copy/Paste Special > Transpose...seems to lose the macro functionality

    i started by doing the copy/transpose using just the data table, and exluding the formulas - A2:K20. then i changed the CF from =$B3*2 to =N$3*2

    after that, it should be relatively easy to move 1 of your callway UDF's, change the references accordingly, and then copy down
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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