Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to read Excel Spread Sheet in VB

Hello Everyone,
I am working on a project where I have to read an excel
spreadsheet with about 60 cells and rows of data that I
don't need. I want to write out a comma delimited file
with just the information I need. Is there a way to
create a excel object, open the spread sheet and then
read each row and column and strip out just what I need
to a flat file.

Any help is really appreciated.


Thanks
Shabnam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to read Excel Spread Sheet in VB

Here is a start:

http://support.microsoft.com/support...eio/fileio.asp
File Access with Visual Basic® for Applications

The key will be able if you can identify what it is you need and what you
don't.

--
Regards,
Tom Ogilvy


"Shabnam Gupta" wrote in message
...
Hello Everyone,
I am working on a project where I have to read an excel
spreadsheet with about 60 cells and rows of data that I
don't need. I want to write out a comma delimited file
with just the information I need. Is there a way to
create a excel object, open the spread sheet and then
read each row and column and strip out just what I need
to a flat file.

Any help is really appreciated.


Thanks
Shabnam



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to read Excel Spread Sheet in VB



The reply you sent me just works with flat files. I thought to read an
excel workbook you need to create excel.application object and
excel.sheet object. How would you read the cells and rows from these
objects. Thanks for your help.

Shabnam

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to read Excel Spread Sheet in VB

I assumed you were working in Excel, but if not:

http://support.microsoft.com/?id=167223
Microsoft Office 97 Automation Help File Available on MSL


http://support.microsoft.com/support...aqVBOffice.asp
Frequently Asked Questions about Microsoft Office Automation Using Visual
Basic


http://support.microsoft.com/support...fdevinapps.asp
Programming Office from Within Office

http://support.microsoft.com/support...dev/iisfaq.asp
Integrating Office with IIS FAQ

http://support.microsoft.com/?id =219151
Q219151 - HOWTO: Automate Excel 97 and Excel 2000 from Visual Basic

http://support.microsoft.com/support...automation.asp
Using Automation with Microsoft Excel 97

http://support.microsoft.com/?id=153748
ACC: How to Call Excel Functions from Within Microsoft Access

--
Regards,
Tom Ogilvy

"Shabnam Gupta" wrote in message
...


The reply you sent me just works with flat files. I thought to read an
excel workbook you need to create excel.application object and
excel.sheet object. How would you read the cells and rows from these
objects. Thanks for your help.

Shabnam

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
How to create Login & Log out Spread sheet in Excel with automated Attendance sheet marc5354 Excel Worksheet Functions 2 September 21st 10 04:22 PM
Excel spread sheet hondo Excel Discussion (Misc queries) 1 February 2nd 10 07:21 AM
how do i enter a bull call spread into the options spread sheet ? alvin smith Excel Worksheet Functions 0 November 27th 06 01:23 AM
Excel Spread Sheet Election girl Excel Discussion (Misc queries) 1 February 1st 06 07:58 PM
Excel spread sheet TCSmith Lgl Asst Excel Discussion (Misc queries) 12 July 8th 05 11:04 PM


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