Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am trying to copy a specified worksheet from one book, create a new workbook with todays date and file name, and then drop the copied worksheet into it. It is testing my ability. Can anyone help. Thanks -- Kstalker ------------------------------------------------------------------------ Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699 View this thread: http://www.excelforum.com/showthread...hreadid=383762 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() try right mouse button select move or copy select new sheet select create a copy click ok -- matrix5166 ------------------------------------------------------------------------ matrix5166's Profile: http://www.excelforum.com/member.php...o&userid=24820 View this thread: http://www.excelforum.com/showthread...hreadid=383762 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Kristan,
Try: Sub Tester02() Dim Wb As Workbook Dim ws As Worksheet Dim sStr As String Set Wb = Workbooks("MyBook1.xls") Set ws = Worksheets("MySheet") sStr = "MyNewBook " & Format(Date, "mm-dd-yyy") ws.Copy ActiveWorkbook.SaveAs sStr End Sub "Kstalker" wrote in message ... I am trying to copy a specified worksheet from one book, create a new workbook with todays date and file name, and then drop the copied worksheet into it. It is testing my ability. Can anyone help. Thanks -- Kstalker ------------------------------------------------------------------------ Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699 View this thread: http://www.excelforum.com/showthread...hreadid=383762 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Norman. Worked well thanks. Now need to direct the newly created workbook to a specified location. Have read alot of threads but my basics are letting me down. Or lack o them. Regards Krista -- Kstalke ----------------------------------------------------------------------- Kstalker's Profile: http://www.excelforum.com/member.php...fo&userid=2469 View this thread: http://www.excelforum.com/showthread.php?threadid=38376 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Activeworkbook.SaveAs "C:\MyExistingFolder\" & Format(Date, "mm-dd-yyy")
-- Regards, Tom Ogilvy "Kstalker" wrote in message ... Norman. Worked well thanks. Now need to direct the newly created workbook to a specified location. Have read alot of threads but my basics are letting me down. Or lack of them. Regards Kristan -- Kstalker ------------------------------------------------------------------------ Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699 View this thread: http://www.excelforum.com/showthread...hreadid=383762 |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks Tom and Norman Works a treat. Enjoying this VBA learning curve. Regards Kristan -- Kstalker ------------------------------------------------------------------------ Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699 View this thread: http://www.excelforum.com/showthread...hreadid=383762 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can not copy a sheet to another book | Excel Worksheet Functions | |||
Too Few Rows to copy sheet to another book | Excel Worksheet Functions | |||
Create book pages, on one sheet from list | Excel Discussion (Misc queries) | |||
Copy a sheet to a new book unsuccessful | Excel Discussion (Misc queries) | |||
How do I create a sheet to book a training room? | Excel Discussion (Misc queries) |