Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

read excel data

read excel data

read excel data

I'm using Extra and I have a column of data 1500 +/- records. I want to retrieve the first record place it in the extra session run my application in extra. Then retrieve the next record and so on till finished. Is there a way to do this from extra with VB.

RE: read excel data


Do you have 1500 rows ON ONE SCREEN, or something else?


glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: read excel data

Skip I have a Excel spreadsheet with 1500 items in column a so I have cell a1 to cell a1500. I have to take each items# and place in a extra application then retrieve that item and close it out. It is very time consuming. I want to write something to automate this act. I can do the macro for the extra application but am having trouble doing the call to excel to retrieve the individual item numbers.


RE: read excel data

Since you are using Excel as the data source, AND I'd guess the place to put what you get out of the terminal emulator, I'd code the entire thing in Excel VBA, which is like a Cadillac compared to Extra VB, which is like a Yugo!


glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: read excel data

Anyhow, I assume that you have Set an object variable using the CreateObject("Excel.Application") an then opened the workbook containing your list.

So to loop thru the list in Excel...


With xl.workbook(1).worksheet(1).cells(1,1).currentregion
   For each r in .range(.cells(1,1), .cells(.rows.count,1))
       'r.value is a value in the list
End with 


glassesJust traded in my OLD subtlety...
for a NUance!tongue

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close