Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I'm writing a VB app to read an excel file that contains a data table. My goal is to obtain all the column headings and corresponding cell values for each column in the table. Is there a simple method available to select a range of cells containing the data? Other than looping through, and testing each cell... One sheet may contain data from A1 through K25, and another perhaps from A1 to M15. It'd be nice to use an object method to return the Range A1:K25 in the first case, and A1:M15 in the other. Any ideas? Dave |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheet1.UsedRange
Mike "dave" wrote in message ... I'm writing a VB app to read an excel file that contains a data table. My goal is to obtain all the column headings and corresponding cell values for each column in the table. Is there a simple method available to select a range of cells containing the data? Other than looping through, and testing each cell... One sheet may contain data from A1 through K25, and another perhaps from A1 to M15. It'd be nice to use an object method to return the Range A1:K25 in the first case, and A1:M15 in the other. Any ideas? Dave |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks much. "Mike Fogleman" wrote in message ... Sheet1.UsedRange Mike "dave" wrote in message ... I'm writing a VB app to read an excel file that contains a data table. My goal is to obtain all the column headings and corresponding cell values for each column in the table. Is there a simple method available to select a range of cells containing the data? Other than looping through, and testing each cell... One sheet may contain data from A1 through K25, and another perhaps from A1 to M15. It'd be nice to use an object method to return the Range A1:K25 in the first case, and A1:M15 in the other. Any ideas? Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting Yes in data validation for multiple cells | Excel Discussion (Misc queries) | |||
Selecting data from cells that are 5 rows apart and groung in 1 co | Excel Worksheet Functions | |||
Selecting data €“ when some cells are empty | Excel Discussion (Misc queries) | |||
How I print only the cells with data without selecting everytime? | Excel Worksheet Functions | |||
Selecting data from different cells for a chart | Charts and Charting in Excel |