LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default move worksheet to end of another workbook

Hi,
I'm using Excel 2010 and have two spreadsheets that I want to merge.
One of these is my timesheet workbook (called "breakdown 2013.xlsx") and the other is my daily time.
I have managed to create a macro that will mostly do what I want, but I cannot find the code to get the daily sheet to insert at the end of the "breakdown" without having to constantly change the number of sheets.

The code I'm using is :

ActiveSheet.Select
ActiveSheet.Move after:=Workbooks("breakdown 2013.xlsx").Sheets(135)

Can anyone assist with this - it's irking me no end.
 
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
move a worksheet from one workbook to another Wizard475 Excel Discussion (Misc queries) 1 February 13th 09 07:50 PM
Move to a named worksheet from any worksheet in the same workbook tango Excel Programming 2 December 10th 08 12:43 AM
Why can't you just Move a worksheet in Excel '07 to new workbook? Rania Excel Worksheet Functions 1 November 15th 07 08:51 PM
Move worksheet within workbook Dale Fye Excel Programming 2 February 1st 06 02:35 AM
MOVE Worksheet to another workbook ? MAS Excel Programming 6 July 3rd 05 10:37 PM


All times are GMT +1. The time now is 03:39 AM.

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"