Re: Excel headaches
Re: Excel headaches
- Subject: Re: Excel headaches
- From: David Wignall <email@hidden>
- Date: Tue, 15 Oct 2002 21:11:27 +1300
on 15/10/2002 11:27 AM, Patrick S. Page-McCaw at email@hidden wrote:
>
Sometimes my Excel scripts work and sometimes they don't.
<snip>
>
In this case, the error arises from selecting in the Range class. It
>
comes from a call to
>
>
on pasteXLData(theBook, theSheet, theRange)
>
tell application "Microsoft Excel"
>
Activate
>
Select Range theRange of Sheet theSheet of Workbook theBook
>
Paste
>
end tell
>
end pasteXLData
Not a direct answer but what happens with this?
on pastexldata(theBook, theSheet, theRange)
tell application "Microsoft Excel"
Paste Destination Range theRange of Sheet theSheet of Workbook
theBook
end tell
end pastexldata
--
Dave
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Excel headaches (From: "Patrick S. Page-McCaw" <email@hidden>) |