• 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
excel - hyperlinks errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

excel - hyperlinks errors


  • Subject: excel - hyperlinks errors
  • From: "Walia, Gaurav (333G)" <email@hidden>
  • Date: Fri, 4 Feb 2011 15:18:22 -0800
  • Acceptlanguage: en-US
  • Thread-topic: excel - hyperlinks errors

Hey all,

I'm thinking to script excel (have all2004 – 2011)

tell application "Microsoft Excel"

activate

make new hyperlink of active cell at active sheet with properties {address:"Sheet2!A1"}

end tell


This executes.  The problem is that when you click on the hyperlink there is an error.  Looking at the link. It's missing the "#" in the field


Objective is to get the field (command+K) to display #Sheet2!A1".  The code above doesn't work.


Changing this address:"Sheet2!A1" to address:"#Sheet2!A1" gets "#Sheet2!A1#Sheet2!A1" in the field.


So how do I get the link to field to display #Sheet2!A1?


Any help would be appreciated.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: excel - hyperlinks errors
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Image Events
  • Next by Date: Re: excel - hyperlinks errors
  • Previous by thread: Re: Very slow copying of files to a server using Finder in 10.6
  • Next by thread: Re: excel - hyperlinks errors
  • Index(es):
    • Date
    • Thread