+ Reply to Thread
Results 1 to 8 of 8

Switch rows to columns in a Macro

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    5

    Question Switch rows to columns in a Macro

    Hello everyone,

    I work in the field of SEO and unfortunately my skills in Excel are not that impressive. I still try to figure out how the codes I found here and there are working !

    Today, I'd like to switch the layout of the macro I use to get the search engine result page (SERP) rankings from rows to columns, for readability's sake. This beautiful macro is to be found here : http://www.searchenginepeople.com/bl...oft-excel.html

    I try to tweak it myself, but it's pretty hard as I don't understand much to VBA.

    Here is the code I believe I need to change so it writes the results as columns :


    Please Login or Register  to view this content.

    Thank you very much if you can help me with this !

  2. #2
    Registered User
    Join Date
    02-04-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Switch rows to columns in a Macro

    Do I need to be clearer in my explanation?

    I'm sure it's not that complicated!

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Switch rows to columns in a Macro

    Do you have a sample sheet that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    02-04-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Switch rows to columns in a Macro

    Sure ! You can download directly on the link I provided (it also gives informations what the macro is all about/how it works).

    Or here it is
    SERP Rankings.xls

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Switch rows to columns in a Macro

    Fassn
    The attached workbook does not have any data to work on. Why is your code on thisworkbook rather than in the standard module?

  6. #6
    Registered User
    Join Date
    02-04-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Switch rows to columns in a Macro

    It was like this in the original file from searchenginepeople.com. As it has always worked fine for me like this, I never changed it !

    The original one can be found here btw :
    http://www.searchenginepeople.com/wp...p-rankings.zip
    Last edited by fassn; 02-05-2013 at 05:54 AM.

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Switch rows to columns in a Macro

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    02-04-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Switch rows to columns in a Macro

    Woaaah works like a charm ! Thank you very much


    I really need to start learning the basics of VBA now...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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