×
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!

*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

Attachmate to Excel for a MailMerge via word

Attachmate to Excel for a MailMerge via word

Attachmate to Excel for a MailMerge via word

(OP)
Hi guys n gals

I am currently trying to pull data off attachmate into a excel file . Without opening the excel file for a mailmerge letter. I have come across some examples of this on here but unfortunately they have not posted the code with the solution. ( http://www.tek-tips.com/viewthread.cfm?qid=1703359 )



For examples let say I want to copy coordinates 1 ,1 length 15 from attachmate to excel sheet 1 cell A1 ""without"" opening the spreadsheet.

Currently I know how to do this when the spreadsheet is open. but for this mailmerge to be successful i do not want the user to keep having to open the excel spreadsheet.


I am pretty new to attachmate and would greatly appreciate any help or a little frame work which i can build upon.

RE: Attachmate to Excel for a MailMerge via word

Hi,

AFAIK the workbook must be opened when writing from your terminal emulator and when running MailMerge using Excel as data source. The Excel Application need not be visible.

I imagine that your code will be in Word?

You really have two separate procedures: 1) Scrape screen and load Excel, 2) Run MailMerge. Each can be run independently or consecutively.

Skip,

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

RE: Attachmate to Excel for a MailMerge via word

(OP)
My idea was to have attachmate replace the needed cells in the excel file and have the user manual open the word document with all the corresponding infomaruon that was pulled into excel used in the mail merge . Yes it will be one letter at a time . As I do not want more than one letter at a time .


You mentioned 'The Excel Application need not be visible.' . How is that sir...im a newbie apologies if this is a dumb question ? Any example code of this you can direct me too or write as an example to use as a guideline ?

RE: Attachmate to Excel for a MailMerge via word

lankaw, can you post your code that initially opens Excel?

RE: Attachmate to Excel for a MailMerge via word

In addition to posting you code as rely has requested, please explain the PROCESS you have designed to perform your Emulator to MailMerge requirement. What you posted previously does not seem to correspond to what I envisioned.

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