• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Excel headaches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: OS 9.2.1 - popup windows - scriptable?
  • Next by Date: RE: image conversion
  • Previous by thread: Excel headaches
  • Next by thread: Back Up Problems with Preference file
  • Index(es):
    • Date
    • Thread