PC Review


Reply
Thread Tools Rate Thread

Code help: Combing data from worksheets in a directory.

 
 
nickm687
Guest
Posts: n/a
 
      2nd Apr 2007
Hi everyone.

Im still having a bit of trouble editing some code to fit the way i
want it.

I am using the KBase article 'Combine All Data From All Worksheets in
All Workbooks in a Specified Directory' posted by mvida from
http://vbaexpress.com/.


1) Instead of scrolling through every worksheet in the tWB workbook, i
only want to use one. ("Dashboard")


2) I want to predefine the range i want copied. (A8:Z14)


Thanks in advance.
Nick

 
Reply With Quote
 
 
 
 
nickm687
Guest
Posts: n/a
 
      2nd Apr 2007
The direct link to the code is http://vbaexpress.com/kb/getarticle.php?kb_id=773.

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      2nd Apr 2007
Hi nickm687

See this page
http://www.rondebruin.nl/copy3.htm

in the examples I use the sheet index 1

You can change
mybook.Worksheets(1)
To
mybook.Worksheets("Dashboard")

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"nickm687" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Hi everyone.
>
> Im still having a bit of trouble editing some code to fit the way i
> want it.
>
> I am using the KBase article 'Combine All Data From All Worksheets in
> All Workbooks in a Specified Directory' posted by mvida from
> http://vbaexpress.com/.
>
>
> 1) Instead of scrolling through every worksheet in the tWB workbook, i
> only want to use one. ("Dashboard")
>
>
> 2) I want to predefine the range i want copied. (A8:Z14)
>
>
> Thanks in advance.
> Nick
>

 
Reply With Quote
 
nickm687
Guest
Posts: n/a
 
      3rd Apr 2007
On 2 Apr, 17:54, "Ron de Bruin" <rondebr...@kabelfoon.nl> wrote:
> Hi nickm687
>
> See this pagehttp://www.rondebruin.nl/copy3.htm
>
> in the examples I use the sheet index 1
>
> You can change
> mybook.Worksheets(1)
> To
> mybook.Worksheets("Dashboard")
>
> --
>
> Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm
>
>
>
> "nickm687" <nickm...@gmail.com> wrote in messagenews:(E-Mail Removed)...
> > Hi everyone.

>
> > Im still having a bit of trouble editing some code to fit the way i
> > want it.

>
> > I am using the KBase article 'Combine All Data From All Worksheets in
> > All Workbooks in a Specified Directory' posted by mvida from
> >http://vbaexpress.com/.

>
> > 1) Instead of scrolling through every worksheet in the tWB workbook, i
> > only want to use one. ("Dashboard")

>
> > 2) I want to predefine the range i want copied. (A8:Z14)

>
> > Thanks in advance.
> > Nick- Hide quoted text -

>
> - Show quoted text -


Thanks Ron, very usefull.

Nick

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup and/or combing data from two worksheets Tessa Microsoft Excel Worksheet Functions 3 25th Mar 2009 05:20 PM
Combing Info. from multiple worksheets =?Utf-8?B?UGF1bGE=?= Microsoft Excel Misc 2 30th Mar 2007 03:22 PM
Code to hide worksheets based on Active Directory login? Joe Microsoft Excel Discussion 0 21st Feb 2006 03:57 AM
Combing source data from 2 worksheets. =?Utf-8?B?TW9uaXF1ZQ==?= Microsoft Excel Charting 2 15th Feb 2005 03:48 AM
Combing TWO worksheets into ONE text file BK Microsoft Excel Worksheet Functions 0 7th Jun 2004 05:27 AM


Features
 

Advertising
 

Newsgroups
 


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