Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default move a sheet to another workbook

I need to move a sheet from one workbook to another workbook. I'd like to
create a button that uses a macro or vb script to accomplish this. I can
create the move macro, but the catch is that the sheet that needs to move
will have a different name every month. So I was thinking of the code popping
up a form that I could type the sheet name in that needs to be moved and it
will then move it. I'm familar with forms, text boxes, and basic VB, but need
some help with the code here. Thanks for any help you can provide.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default move a sheet to another workbook


Right -clicking the sheet tab and choosing "move or copy" does that already.
If you must use a macro it sounds as if "ActiveSheet" is what you need..
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"phil-rge-ee" <
wrote in message
I need to move a sheet from one workbook to another workbook. I'd like to
create a button that uses a macro or vb script to accomplish this. I can
create the move macro, but the catch is that the sheet that needs to move
will have a different name every month. So I was thinking of the code popping
up a form that I could type the sheet name in that needs to be moved and it
will then move it. I'm familar with forms, text boxes, and basic VB, but need
some help with the code here. Thanks for any help you can provide.
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
Cursor does not move on one sheet in protected workbook pseudo_pro Excel Worksheet Functions 2 December 13th 07 07:24 PM
move a sheet out of my workbook and place in another folder? trishb123 Excel Discussion (Misc queries) 3 January 10th 07 04:14 PM
automatically move cell data in 1 workbook to another workbook Genesis Excel Worksheet Functions 1 November 5th 06 07:35 PM
Move the sheet tab bar to the top of the workbook? Dena Excel Discussion (Misc queries) 1 February 14th 06 08:49 PM
I would like to move from sheet to sheet in a workbook using keybo k-cess New Users to Excel 1 April 12th 05 03:23 AM


All times are GMT +1. The time now is 06:18 AM.

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"