LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dynamic worksheet import to current workbook


Hello,
I have a folder with several excel files (i.e. A.xls, B.xls, C.xls ...)
and I want to create a macro that depending on the text (referring an
excel file) in a determinate cell (A, B, C,...), the macro copy all the
worksheets from this file to the current workbook. I want to copy them
after the current worksheet. I also want that when you change the text
in the cell (i.e. for example from A to B) the macro eliminates all the
worksheets from the file A and copy the worksheets from file B.
Thank you


--
IntosH
------------------------------------------------------------------------
IntosH's Profile: http://www.thecodecage.com/forumz/member.php?userid=152
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=68960

 
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
Copy worksheet into current workbook Gerard Excel Discussion (Misc queries) 0 February 19th 10 03:31 PM
Adding a worksheet to a current workbook naschulte Excel Discussion (Misc queries) 7 June 28th 07 07:44 PM
Adding a worksheet to a current workbook naschulte Excel Discussion (Misc queries) 1 June 28th 07 05:26 PM
Import multiple csv files into current workbook as separate sheets santosh Excel Programming 3 January 24th 06 05:06 PM
How do I import an XLT worksheet into another workbook? chris5 Excel Programming 3 October 5th 05 12:38 PM


All times are GMT +1. The time now is 12:49 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"