Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Using same custom sort on multiple tabs within same spreadsheet  - Excel 2010

Posted on 2013-05-16
2
261 Views
Last Modified: 2013-05-16
Experts,

I have a spreadsheet that has 10 tabs with the same data.  Each tab is representative of an enrollment month.

I would like to sort each tab the same way.  Is there a way to do this without doing a custom sort on each tab separately?
0
Comment
Question by:morinia
  • 2
2 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39171827
Dim ws As Worksheet

For Each ws in Worksheets
    ' Do your thing
Next

Open in new window

0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39171834
The above would be put in a macro and the "do your thing" part could be a macro recorded while you sort one page and then generalized to replace the specific sheet name with "ws".
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question