+ Reply to Thread
Results 1 to 5 of 5

VBA Run Macro through worksheets.

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    3

    VBA Run Macro through worksheets.

    Hi All.

    My first attempt at a macro, basically it Transposes the data from 2 rows, a1:a14 and b1:b14, into 2 columns but I have x amount of worksheets that I need to run the macro.

    TS.JPG

    I have tried several ways to do this simple task but it just wont work.

    Thank you.

    Spacebar.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA Run Macro through worksheets.

    Based upon your macro it looks like you want to copy A1:M2 and transpose starting at cell A3. This is completely contradictory from what you stated in your post. Please clarify what you want.

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA Run Macro through worksheets.

    Apologies.

    stnkynts, you are correct, I want to copy A1:M2 and transpose starting at cell A3.

    Then repeat this macro across all the worksheets which there are over a hundred.

    Many thanks.

    Spacebar.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA Run Macro through worksheets.

    Try:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-19-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA Run Macro through worksheets.

    Thanks stknynts.

    Worked a treat, on an upward learning curve again.

    Spacebar.

+ 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