• 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
make a new worksheet in Excel 2004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make a new worksheet in Excel 2004


  • Subject: make a new worksheet in Excel 2004
  • From: "Adam K. Wuellner" <email@hidden>
  • Date: Thu, 20 Jan 2005 12:41:38 -0600

The code below gives me "Microsoft Excel got an error: Can't make a worksheet."

tell application "Microsoft Excel"
	activate
	set new_ws to make new worksheet
	activate new_ws
end tell

How do I make a worksheet in Excel 2004?

The error code is -2710, omitted from this reference:
<http://developer.apple.com/documentation/AppleScript/Conceptual/ AppleScriptLangGuide/AppleScript.10d.html>


Thanks,
Adam

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: make a new worksheet in Excel 2004
      • From: Hanaan Rosenthal <email@hidden>
  • Prev by Date: [ANN] Jan. Boston AppleScript Users Group Meeting
  • Next by Date: Re: Internet Connect Script
  • Previous by thread: [ANN] Jan. Boston AppleScript Users Group Meeting
  • Next by thread: Re: make a new worksheet in Excel 2004
  • Index(es):
    • Date
    • Thread