View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
nickm687 nickm687 is offline
external usenet poster
 
Posts: 20
Default Code help: Combing data from worksheets in a directory.

On 2 Apr, 17:54, "Ron de Bruin" 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" wrote in ooglegroups.com...
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