Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
payments
 
Posts: n/a
Default Transfer names and date of birth

HI,
I have Worksheet 1 with first names, last names, date of birth, sorted by
first name

I want Worksheet 2, to have the same info, first names, last names , date of
birth but sorted by month, then date,

I want to be able to do this without having to update Worksheet 2 at all, to
have this as a protected sheet
  #2   Report Post  
Posted to microsoft.public.excel.misc
Paul23
 
Posts: n/a
Default Transfer names and date of birth

Try this,
Create a Command Button and name it NewSheet1 and enter this into your code.
It will copy all the data over and name the sheet with (1) after it. I dont
know how to sort the data, but that is how you copy your worksheets. If you
have it on every worksheet it will copy that one and paste it over

Private Sub NewSheet1_Click()
Dim intAnswer As Integer
intAnswer = MsgBox("Are you Sure you wish to Create a New Sheet", vbYesNo,
"New Sheet")
If intAnswer = vbNo Then
Exit Sub
End If

Sheets(1).Copy after:=Sheets(1)


MsgBox "A New Sheet has been Created"


End Sub


"payments" wrote:

HI,
I have Worksheet 1 with first names, last names, date of birth, sorted by
first name

I want Worksheet 2, to have the same info, first names, last names , date of
birth but sorted by month, then date,

I want to be able to do this without having to update Worksheet 2 at all, to
have this as a protected sheet

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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
if, sumproduct, help by date Jim Excel Worksheet Functions 3 January 20th 06 10:42 PM
if, sumproduct, help by date Jim Excel Worksheet Functions 0 January 20th 06 07:37 PM
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
extract name when a date in another cell gets near cityfc Excel Worksheet Functions 5 November 10th 05 01:20 AM


All times are GMT +1. The time now is 02:55 PM.

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

About Us

"It's about Microsoft Excel"