Excel - anchor link

using excel 11, 08, 04 having this issue
desire:
when cell/hyperlink is clicked then you go to Sheet 2 cell a1.
code:
tell application "Microsoft Excel"
make new hyperlink of active cell at active sheet with properties {address:"Sheet2!A1"}
end tell
result is you get an error when clicked.
troubleshooting:
looked at the result. It has Sheet2!A1 but doesn't work until you put an # in front of it and adding that results in additional characters not the #Sheet2!A1 value.

solution
tell application "Microsoft Excel"
activate
make new hyperlink of active cell at active sheet with properties {sub address:"Sheet2!A1", address:""}
end tell

Similar Messages

  • Unable to open local file using af:goLink and anchor link in JSF page.

    Hi,
    I want to open a file at a perticular location on client machine. I am using af:goLink to openg the file. But when i tried to click on the link it is not opening the file. If i give any other value like name of other site, it opens the link. It is not giving any exception also. I tried by puting notmal HTML anchor link. That is also not working. But if i put this anchor link in normal HTML page, it works.
    Following is the JSPX page that i have created. Here c:\dmmsi.log is a temp file on my local system.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document title="File Upload">
    <af:form usesUpload="true">
    File Uploader Test
    <af:inputFile label="Input File" autoSubmit="true"/>
    <af:spacer height="20" width="50"/>
    <af:goLink targetFrame="_new" destination="file:///c:/dmmsi.log" text="Test"/>
    <af:spacer height="20" width="50"/>
    <!--a id="you" href="c:\dmmsi.log" target="_new">Open File</a-->
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    HTML Page i tried using anchor link
    <html>
    <body>
    <form>
    Please specify a file from your local machine</b>
    <input name="file" type="file" onblur="document.forms[0].hello.value = document.forms[0].file.value; document.getElementById('you').innerHTML =document.forms[0].file.value; document.getElementById('you').href = 'file://'+document.forms[0].file.value;">
    <br><br>
    <input type="text" name="hello" value="">
    <br><br>
    <!-- a id="you" href="c:\dmmsi.log" target="_new">Click Me to Open file< / a -->
    </form>
    </body>
    </html>
    (Note: Please remove the comments that i have added in creating anchor link. I was facing some issue in putting my code in this editor. It was creating the HTML link when i see the preview.)
    I hope you will be able to reproduce my problem.
    Sujay

    What version of IE are you using? IIRC, IE 7 is supposed to prompt you. ("The web site is attempting to open a page in your Trusted Zone. This can let hax0rs pwnz0r you. Continue?" or something to that effect.)
    If you use the verbatim tags, do you get an actual error message? That might help diagnose the problem.

  • Is there a way to make an anchor link display a different colour when selected? (active state)

    I have a vertically scrolling site I am trying to set up, and it's all going well. Only problem is when you use the menu (widget or non-widget) to move to an anchor link, thus bringing in the next section, I can't get the link to diplay as a different colour.
    This would be good for letting the user know what section is infront of them.
    Is there a way to do this?
    One other question: Is there a way to get an anchor link to display centrally in the middle of the page up and down. I can arrange it so it looks good in one browser window, but as soon as the user has more vertical space it seems to diplay a set distance from the top. I guess what I'm asking is can the anchor link define the center point instead of the top point?
    Many thanks!

    Hello,
    Could you please elaborate what exactly you are referring to with "I can't get the link to diplay as a different colour"?
    Regarding your second query, I am afraid it is not possible using Adobe Muse. However it can be a very nice feature request.
    I would suggest you to post this as a feature request on our "Ideas for features in Adobe Muse" section of the forums : http://forums.adobe.com/community/muse/ideas
    Regards,
    Sachin

  • Anchor links to accordion panels not working properly across browsers

    Hi everyone,
    I need some help to figure out why my anchor links  to specific accordion panels on another page are not working properly  across browsers.
    I have a Map page which has tooltips on  mouseover on the site markers. 15 of the tooltips have "Click here for  information" anchor links (although only 14 are currently linked) which,  in theory, would take you to the Nurseries page where the specified  accordion panel would be opened with the nursery entry appearing at the  top of the new browser window.
    Here are the links to the Map page and Nurseries page, respectively:
    www.alegriadesignstudio.com/RFRI/map_v6.html
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html
    I've  tested the anchor links on IE, Firefox, Google Chrome, and Safari, and  have received varying results. In most cases, the anchor links worked  perfectly on two of the browsers, while on the other browsers, the  correct accordion panel is opened but the nursery entry does not appear  at the top of the new browser window. Anchor links using Safari and  Google Chrome fared better (10 out of 14 links worked properly, and  8/14, respectively), whereas when using Firefox and IE, only 3 anchor  links worked properly. The target audience for this website will be  using IE and Firefox, so I  would appreciate any help to figure out how to tweak the code so that  the most, if not all, anchor links work properly on these two browsers  in particular.
    Here's an anchor link which worked perfectly in  IE, GC, and Safari, but in FF, the entry did not appear at the top of  the new browser window.
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem
    http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem [To access the anchor link on the Map page, mouseover the third green  dot from the top of the map (Tooltip--Location: Mangatarem) and then  click on "Click here for information."]
    Here's a sample anchor link in which the entry did not appear at the  top of the new browser window in any of the 4 browsers:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel [To access the anchor link on the Map page, go to "Mindanao" at the  bottom of the map and mouseover the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION:        Brgys. Amabel, Bongolanon, Imamaling, & Manobisa; Magpet;        North Cotabato) and then  click on "Click here for information."]
    Here's a sample anchor  link in which the anchor link worked properly in GC and Safari, but the  entry didn't appear at the top of the browser window in IE and FF:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar [To access the anchor link on the Map page, go to the small island  north and a bit west of "Mindanao" which is called "Bohol" and mouseover  the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION: Bilar; Bohol) and then   click on the first "Click here for information."]
    Many thanks in  advance for your assistance!
    Joy

    Hi everyone,
    I'm still trying to figure out how to resolve the problem of anchor links to accordion panels not working properly across browsers (see original post for details). I would greatly appreciate any suggestions on how to resolve the problem.
    Many thanks in advance.
    Joy

  • Adobe acrobat anchor link not going to the right page.

    I have anchor link from html page like http://www,pbgc.gov/docs/2006bluebook.pdf#page=15, when you try to click the link on my machine and some other employees it goes to first page rather than going to page 15. Other employees get page 15. Have anyone experience this issue or know why this issue happen in Adobe Acrobat.
    Most our employees have Adobe Acrobat 8, Also there are some who have Adobe Acrobat 9. I was thinking it may due to the version but someone with Adobe 8 is also having the issue.
    Please advise. Thanks!
    Regards,
    Mohamud
    Ext 5466

    Is Adobe Reader being opened as a plugin in your browser, or as an external application? I think the links to specific locations in the document only work if Adobe Reader is used as a plugin. I've had the same problem, and it was because I didn't have Reader as a browser plugin.
    Ken Dyall.

  • Active state not working in scrolling site (with anchor links)

    I'm design a scrolling site with anchor links and an horizontal menu on the top.
    when i publish the site and click on the menu buttons the site scrolling to the place of the anchor but the active state in the menu is not working.
    now... when i leave the main page (were the scrolling site is) and then return back to it all active states are working perfectly
    anyone have this bug? or any one know how to fix it ?

    Hmmm...I've just been playing around, and I think I got the Active State to work correctly.  I think my problem was not understand what Active State means.
    To answer your question, I was changing the Font Color and Box Fill Color of the Active State.
    I did not understand that Active State means the look of the Menu Item when the PAGE is active.  I thought it meant the look of the Menu item when the cursor is scrolling down the Menu (i.e. when the MENU is Active, not the page).
    Look at this page for an example of what I'm trying to achieve...
    http://www.pgavdestinations.com
    When you hover over the "Work" menu item, and move the cursor down the menu, the state of "Work" remains changed until you move the cursor off of that menu column. It does NOT return back to it's Normal state until you are off of that menu column.
    Is there a way to achieve this with the menu states in Muse?
    Thanks for the replies!
    Dave.

  • Anchor Link for an Image

    Hi There
    I am trying to create an anchor link in a site that I have built and need it to link to an image rather than a piece of text.  Does anyone know how you do this please I am using CS4 - thanks.
    G
    (Question - are Chocolate Chip Cookies bad for a dinner if your a web designer)

    Place your image in the HTML document:
    In front of the image tag, add your starting anchor link:
    Close the anchor tag right after the end of thr image taghttp://webdesign.about.com/od/htmltags/ht/URL
    http://webdesign.about.com/od/htmltags/ht/htlinkimage.htm
    Hope this helps

  • Anchor link only for image in table header for sorting

    Hi,
    I need to implement sorting functionality for datatable.
    for sorting header of the table column will have image along with header text.
    for this i am using <h:commandLink> and <h:graphicImage>.
    But i am getting behaviour as anchor link for both text and image.
    deserved behavior for this is only ofr Image.
    If any one implemented the same ..please help me
    Regards

    Try:
    Sub ClearKeepWNext()
    Dim Tbl As Table, i As Long
    For Each Tbl In ActiveDocument.Tables
      With Tbl
        .Range.ParagraphFormat.KeepWithNext = False
        For i = 1 To .Rows.Count
          With .Rows(i)
            If .HeadingFormat = True Then
              .Range.ParagraphFormat.KeepWithNext = True
            Else
              Exit For
            End If
          End With
        Next
      End With
    Next
    End Sub
    If the tables only have a single heading row, you could instead use:
    Sub ClearKeepWNext()
    Dim Tbl As Table
    For Each Tbl In ActiveDocument.Tables
      With Tbl
        .Range.ParagraphFormat.KeepWithNext = False
        With .Rows(1)
          If .HeadingFormat = True Then
            .AllowBreakAcrossPages = False
          End If
        End With
      End With
    Next
    End Sub
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Issue with Anchor Links in Composition Widget

    Hoping for some help regarding anchor links. I was successful in nesting a Slideshow widget within a Composition widget. The Composition widget contains six panels, each of which contains one Slideshow. Thankfully, that all works as it’s supposed to.
    What I want is to direct users (from another page on my site) to a specific Slideshow within the Composition widget (i.e., for example, to the slideshow on the third panel of the Composition). The anchor link does work in that it directs users to the page with the Slideshow/Composition combo. However, it displays the first panel in the Composition and not the third. I’ve tried inserting the anchor link on top of the actual picture in the Slideshow, and also within one of its text labels. Still the same result.
    My question … can an anchor link be used to direct someone to a specific panel within the Composition widget? Perhaps I can export my site to HTML, open the .html file in Dreamweaver and … I don’t know, move or rename the anchor somehow? Is anyone else having this issue?

    This is a bit late in the day looking at the date of your post, but I asked the same question recently and Brad Lawryk answered (thanks Brad - saved me hours of fiddling!):
    Unfortunately the only way to do this now would be to save a copy of the page with the desired tab focused. Unfortunately this does cause duplicate content and is not SEO friendly though.

  • I am using Muse v7.1 Build 329 anchor links not working

    Hi
    I am using Muse v7.1 and have found that anchor links from buttons and from text boxes fail to work in IE v10 but all work fine with Chrome.
    I have seen comments from others that if I use a space in the code it will work but the whole point of Muse is that I don't need to code in Dreamweaver.

    Hi
    I have uploaded the html output to http://www.cloud-online.co.uk/index.html
    The links that were not working locally in IE seem to be working OK when on a server.
    I had only been testing the results locally until now.  Attached are the output from the Muse file.
    best regards
    Tim Wallis  MInstLM, MCSE
    Managing Director
    TWS Computer Services Limited
    cid:[email protected]
    e. [email protected]<mailto:[email protected]>
    t. 01892 888251  m. 07733 265275
    w. www.tws.eu.com<http://www.tws.eu.com/>
    cid:[email protected]<http://www.twitter.com/twscs>
    P Save a tree...please don't print this e-mail unless you need to
    This email and any attachments to it may be confidential and are intended solely for the
    use of the individual to whom it is addressed. Any views or opinions expressed are solely
    those of the author and do not necessarily represent those of TWS Computer Services Ltd.
    If you are not the intended recipient of this email, you must neither take any action based
    upon its contents, nor copy or show it to anyone.
    Please contact the sender if you believe you have received this email in error.

  • Text Anchor Links

    Hello,
    We are working on a project that uses Text Anchor Links.
    We need the links, that are in the same document, to open in a new window. (For example: A link on page 4 that points to page 76 needs to open a new window showing both page 4 in the original window and 76 in a new).
    The only way we can get this to work is by having the links in separate PDF documents, but would like to have one file instead of a resource folder.
    Anyone know of a way to do this?
    TIA
    LM

    I have exactly the same problem with the url's in the body of my Verizon webmail emails too! The problem started a couple of weeks ago. The url's are not highlighted at all. I too have to copy them and them paste them into a browser. It appears to be a problem with the Verizon webmail application, since it doesnt matter which computer I access webmail from.

  • Anchor links in HTML newsletters not working in iOS8 and above

    I used to receive daily HTML email newsletters with links anchor down to detailed content. The links were working fine in all the previous versions. After upgrading to iOS 8, the internal hyperlinks (anchor links - both named as well as id) are not working. It takes me to nowhere and shows an error message id. This seems to be very specific with iOS 8 and there is no HTML code support to overcome this issue.
    Can Apple fix this issue at the earliest as it is very difficult to scroll up and down every time to read the contents of the email newletters?

    I used to receive daily HTML email newsletters with links anchor down to detailed content. The links were working fine in all the previous versions. After upgrading to iOS 8, the internal hyperlinks (anchor links - both named as well as id) are not working. It takes me to nowhere and shows an error message id. This seems to be very specific with iOS 8 and there is no HTML code support to overcome this issue.
    Can Apple fix this issue at the earliest as it is very difficult to scroll up and down every time to read the contents of the email newletters?

  • Can i make a button change anchor link when you scroll down the site?

    I am trying to make a scroll site.. and i have navigation buttons on the right, a full menu, but also a "1 topic up" button and "1 topic down" button.
    Is there any way that i can have those buttons change anchor link when you scroll down the site.
    Example:
    I am at home, then i press "1 topic down" and gets scrolled to the next topic on the website, but then i cant make the button change to link to the anchor below that, so the button becomes useless after that 1 press.
    Is that in any way possible in Muse to make it change link?

    Hi
    You can try to create different buttons on page positions where down scrolling will be active with separate button actions. For example you click on "I topic down" , page scrolls and there is another button placed with "Next Topic down" , on click this would scroll the page more and similarly along the length of page.
    Button with anchor link scrolling down the page cannot be used for different anchor links, creating different buttons with anchors is the solution.
    Thanks,
    Sanjit

  • Anchor Links

    I have a bunch of links that I styled and worked great with
    dummy .html links attached. I later changed these links to their
    true linking; anchor links to further down the page. I was
    surprised to see that by changing the link to an anchor link that
    the links behaviors went out the door and it only displays the
    visited state.
    After doing a quick search on the web I've found that this is
    just the way IE reads the anchor link but they didn't know how to
    fix it.
    Has anyone here found a work around?

    And most importantly, make sure your pseudo-class rules are
    defined in an
    order that reflects how you want them to behave.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Michael Fesser" <[email protected]> wrote in message
    news:[email protected]..
    > .oO(c-fqgy)
    >
    >>I have a bunch of links that I styled and worked
    great with dummy .html
    >>links
    >>attached. I later changed these links to their true
    linking; anchor links
    >>to
    >>further down the page. I was surprised to see that by
    changing the link to
    >>an
    >>anchor link that the links behaviors went out the
    door and it only
    >>displays the
    >>visited state.
    >>
    >> After doing a quick search on the web I've found
    that this is just the
    >> way IE
    >>reads the anchor link but they didn't know how to fix
    it.
    >>
    >> Has anyone here found a work around?
    >
    > Not really. It also depends on the used browser. Some
    will always show
    > your links as visited, some will just show the first one
    you clicked on
    > as visited, some may even do what you expect.
    >
    > But all these different behaviours can be seen as
    correct. By definition
    > the fragment identifier (the # thing in the URI) does
    not belong to the
    > URI itself, it's just an appendix. So, simply spoken
    >
    >
    http://example.com/foo#test1
    >
    http://example.com/foo#test2
    >
    http://example.com/foo#test3
    >
    > can all be interpreted as the _same_ URI, which is what
    some browsers
    > do. Others are more intelligent and also take the
    fragment identifier
    > into account when deciding which link was visited and
    which was not.
    >
    > Micha

  • HTML anchor links not working (won't scroll down to content).  Why?

    Hi.
    We have a portlet that simply pulls in an external web site so it can be viewed and accessed within our portal.
    The navigation bar within this website using HTML anchors ("a href='#stuff' and "a name='stuff'") to let the user jump/scroll to a particular part of the page. The anchors work when the web site is viewed outside of the portal but don't work when the site is within the portlet window.
    Anyone know why that is, and if there's a way to get those anchors to work?
    Thanks.

    Never mind: I figured it out.
    Because of the way the anchor links in question were generated, they contained the entire URL of the current page with the anchor attached to the end of it. So when the portal rendered the URL, it rendered it in its normal JavaScript style:
    javascript:void(pt_999.refresh('https://servername/portal/server.pt/gateway/...pagename?urlvar=foo#anchor'));
    Once I changed the anchors to only contain the anchor itself ("a href='#anchorname#'), the portal did not convert the URL, allowing the anchor to work on the normal page.

Maybe you are looking for