×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

Extra X-Treme Macro read from Excel

Extra X-Treme Macro read from Excel

Extra X-Treme Macro read from Excel

(OP)
Let me apologize in advance for being woefully un-educated in the art of macro creation.   This project fell in my lap and I'm at a total loss.

We have an Excel sheet that contains values in A1:A15.   I need to create a macro that will copy the value from Cell A1 and paste into into Extra!, there will be a couple of other commands exectued at this point and then I need it to return to Excel and grab cell A2 and paste... rinse and repeat until we hit A15.

I had hoped I could just use the record macro option... but alas it does not record the portion where I leave Extra! and grab the data from Excel.

Any assistance you can provide would be greatly appreciated.

 

RE: Extra X-Treme Macro read from Excel

To copy of Excel towards extra it is enough to record with extra. But to copy of extra towards Excel I do not know.

RE: Extra X-Treme Macro read from Excel



Hi,

Of course you need to set the Excel Application object, just as you set the Extra System object.

Then
code]
dim xl as object, r as object

xl.sheets(1)
  for each r in .range(.Cells(1, "A"),.Cells(1, "A").end(xldown))
     oScreen.PutString(row,col) = r.value
  next
end with
[/code]
where oScreen is your Extra screen object and row is a variable containing the target row and col is a variable containing the target column.  Of course you must control your variables.

The range technique, means that all you need to specify is the starting row and the END property extends the range in the specified direction, to the last cell containing any value.

 

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

RE: Extra X-Treme Macro read from Excel

(OP)
Thank you so much, I ended up looking through a number of posts and figured out how to do what I needed (and in the process I figured out how to do even more than I initially hoped)

This is obviously very new to me, but some of the things that can be accomplished is rather exciting.   I need to find a resource that lists all of the available VBA commands rather than just happening upon them by accident.  :)

 

RE: Extra X-Treme Macro read from Excel



Look in HELP

Skip,

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