|
-
Oct 20th, 2008, 10:39 PM
#1
New Member
Re: How to read .xls file using vb
We want to extract data from certain row/column of excel to text file automatically.
Example: (row 5: column B)
We tried alot of methods but we couldnt do it.
Do you have any idea on how to extract data from Excel to text file automatically?
Thank you
-
Oct 20th, 2008, 10:58 PM
#2
Re: How to read .xls file using vb
Kynn, I have a suspicion that you didn't add a reference to Excel and I also suspect that you didn't create 'Test.xls'. May I suggest that you read the Excel Tutorial here..
http://www.vbforums.com/showthread.php?t=391665
It's really the best way to learn VB/Excel.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Oct 21st, 2008, 02:59 AM
#3
New Member
Re: How to read .xls file using vb
thank u so much...
my excel is 2000. I am following the tutorial by adding a references but i couldnt find the references. My excel doesnt have the "project" tab. I search for the references but couldnt find it.
-
Oct 21st, 2008, 07:20 AM
#4
Re: How to read .xls file using vb
 Originally Posted by kynn
thank u so much...
my excel is 2000. I am following the tutorial by adding a references but i couldnt find the references. My excel doesnt have the "project" tab. I search for the references but couldnt find it.
The Project tab is in Visual Basic, not Excel. Are you using VBA? If you're wondering what VBA is, it's the version of VB that runs behind Excel. If you're accessing VB by running Excel and then accessing VB from Tools/Macros/VB then your using VBA. VBA is not a stand alone version of VB.
Last edited by CDRIVE; Oct 21st, 2008 at 08:02 AM.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|