Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default sorting columns

I have a spreadsheet with employee names as column headings and property
numbers as rows. I would like, when I have to add a new employee into the
mix, to be able to set up a macro to insert a column, add in the employees
name, then get him/her into the correct spot alphabetically. Is there a way
to do this?

Thanks - Paula
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default sorting columns

One way would be to add the name on the end, then do a horizontal sort. You
can get the code by performing the task manually with the macro recorder
turned on.

--
Regards,
Tom Ogilvy


"Paula" wrote in message
...
I have a spreadsheet with employee names as column headings and property
numbers as rows. I would like, when I have to add a new employee into the
mix, to be able to set up a macro to insert a column, add in the employees
name, then get him/her into the correct spot alphabetically. Is there a

way
to do this?

Thanks - Paula



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
freezing columns labels while sorting columns Stan New Users to Excel 1 December 3rd 09 11:30 AM
help with sorting text in columns to match other columns rkat Excel Discussion (Misc queries) 1 August 11th 06 03:42 AM
Sorting columns chesjak Excel Worksheet Functions 4 May 25th 06 11:55 AM
Regarding Sorting Columns Ben Excel Discussion (Misc queries) 2 April 4th 05 08:05 PM
Sorting Columns using VBA Ryan Excel Programming 4 February 6th 04 07:06 PM


All times are GMT +1. The time now is 12:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"