#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default VBA Question

I have a some xlsx files located he J:\Projects\ORF.

Is there a way to extract the 5th row of each file at this location ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 621
Default VBA Question

Workbooks(files) don't have rows.

Each workbook is comprised of one or more worksheets............these worksheets
have rows.

You must be more specific with your description.

But yes..............you can extract data from each of the files(workbooks) in
that folder if you know which worksheet contains the required row.

Check out Ron de Bruin's site.

http://www.rondebruin.nl/tips.htm

Browse through the codes you find under his Copy/Paste/Merge Examples.

Note the "merge data from all workbooks in a folder"

Ron has also supplied an Add-in you could download.


Gord Dibben MS Excel MVP

On Tue, 21 Jun 2011 12:26:38 -0700 (PDT), carl wrote:

I have a some xlsx files located he J:\Projects\ORF.

Is there a way to extract the 5th row of each file at this location ?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default VBA Question

On Jun 21, 7:33*pm, Gord Dibben wrote:
Workbooks(files) don't have rows.

Each workbook is comprised of one or more worksheets............these worksheets
have rows.

You must be more specific with your description.

But yes..............you can extract data from each of the files(workbooks) in
that folder if you know which worksheet contains the required row.

Check out Ron de Bruin's site.

http://www.rondebruin.nl/tips.htm

Browse through the codes you find under his Copy/Paste/Merge Examples.

Note the "merge data from all workbooks in a folder"

Ron has also supplied an Add-in you could download.

Gord Dibben * * MS Excel MVP



On Tue, 21 Jun 2011 12:26:38 -0700 (PDT), carl wrote:
I have a some xlsx files located he *J:\Projects\ORF.


Is there a way to extract the 5th row of each file at this location ?- Hide quoted text -


- Show quoted text -


Each workbook contains 1 worksheet. I need to extract the 5th row of
the worksheet.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 621
Default VBA Question

In that case have a look at Ron's code here.

http://www.rondebruin.nl/summary2.htm


Gord

On Wed, 22 Jun 2011 05:40:30 -0700 (PDT), carl wrote:

Each workbook contains 1 worksheet. I need to extract the 5th row of
the worksheet.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default VBA Question

On Jun 22, 9:08*am, Gord Dibben wrote:
In that case have a look at Ron's code here.

http://www.rondebruin.nl/summary2.htm

Gord



On Wed, 22 Jun 2011 05:40:30 -0700 (PDT), carl wrote:
Each workbook contains 1 worksheet. I need to extract the 5th row of
the worksheet.- Hide quoted text -


- Show quoted text -


Thanks. I looked at my path again. Turns out the workbooks are all
located in separate folders.

The code you pointed me too looks like I need to select all the
workbooks before running it - is that correct ?


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default VBA Question

On Jun 22, 9:46*am, carl wrote:
On Jun 22, 9:08*am, Gord Dibben wrote:

In that case have a look at Ron's code here.


http://www.rondebruin.nl/summary2.htm


Gord


On Wed, 22 Jun 2011 05:40:30 -0700 (PDT), carl wrote:
Each workbook contains 1 worksheet. I need to extract the 5th row of
the worksheet.- Hide quoted text -


- Show quoted text -


Thanks. I looked at my path again. Turns out the workbooks are all
located in separate folders.

The code you pointed me too looks like I need to select all the
workbooks before running it - is that correct ?


You would need to fully qualify each folder path for each file. You
could, if NOT too many, even use a formula

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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
SUM question Nick Ng[_2_] Excel Worksheet Functions 5 October 18th 09 04:10 PM
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


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