Stop Excel from following specific hyperlinks

Hi All,
I am attempting to create an Excel workbook add-in using VSTO for Excel 2003+. In it, when the user clicks on a hyperlink, and the hyperlink points to a file on the local machine, I want to stop the file from opening up on the native application (which
is the default process) and show some details regarding the file on a custom action pane.
I've gotten the action pane to display the file details, but am stuck on how to stop/cancel the hyperlink follow action. The Application.SheetFollowHyperlink action seems to fire after the file has already opened and I couldn't find resources that seem to
tackle this issue.
I would be extremely grateful any help provided.
Cheers!

Don't use real hyperlinks. Format the cell to look like a hyperlink, but use the worksheet's selection change event to do what you want: either follow the hyperlink, or show values.
This macro will remove all hyperlinks (except for formulas):
Sub RemoveHLs()
ActiveSheet.Hyperlinks.Delete
End Sub

Similar Messages

  • How do I stop Excel from trying to rebuild the Outlook database when I try to open a .xls file?

    Using Office 2011. When I try to open a .xls or .docx file, Excel or Word wants to rebuild the Outlook database. I do not have Outlook installed.
    The file will open if I dismiss the Outlook query popup, and double click on the same file I just tried to open.
    Works fine, just irritating.

    Open Mail, then open Preferences (command-comma), and on the "General" pane the top entry is "Default email reader."  Choose Mail (6.3) from the box.
    Now all mailto: links will open Mail by default.  If you ever want to set another mail client as the default, choose it in that box.

  • All my excel files were converted to pdf. Why would this happen and how do i stop it from doing so?

    All my excel files were converted to pdf. Why would this happen and how do i stop it from doing so?

    shloimypt wrote:
    All my excel files were converted to pdf. Why would this happen and how do i stop it from doing so?
    Relax, they weren't converted to PDF.
    You can tell by right clicking ANY of them and choosing "Properties". You'll see there that they're STILL .xls or .xlsx files. The "association" has changed and Windows now indicates that they open with Reader, which isn't right.
    Where it says "Open With" under the General tab, you can click "Change" and re-select Excel as the default app to open thim.
    See: http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • How do I stop Firefox from crashing? It crashes at various times, not when loading any specific pages.

    My crash problem has been going on for week, now. I tried uninstalling FF and reinstalling it. I hoped that would fix the problem, but it didn't. Crashes occur randomly, when loading or reloading pages but they are NOT specific pages. The Report ID listed below is just 1 of several reports from the past week.

    I am unwilling to attempt navigation away from these sites. The pop-ups that occur on the attempt to leave a site or to close the browser are exit traps offering incentive to stay.
    Once upon a time, when the internet was less dangerous, I would be willing to close the exit pop-ups. Now, after twice being infected with malware trying to close the pop-ups, I now force close whichever browser I am using.
    Recently, I clicked on the red X to close one pop-up, and it installed a trojan that I had to pay to be removed. When I clicked on 'Leave' in another exit pop, it didn't exit and it turned out I was giving permission to run a script file. Now that criminals have learned these exit pop-ups can be used to force a click action, the sites using them have become dangerous.
    If I force the browser to close using Task manager, Please tell me how to stop FireFox from sending me directly back to the same site because it mistakenly believes it crashed when it did not. I forced it to close because I was on a site that had taken control of my browser and was not allowing me to leave the site.
    No other browser sends me back to the potentially dangerous sites. I prefer Firefox, but the new version must have a setting that allows me to get safely away from a problem site?

  • When I log in both word and excel automatically open. Is there a way to stop them from opening on startup?

    when I log in both word and excel automatically open. Is there a way to stop them from opening on startup?

    I believe on new mac this is how it works by default.  There is a preference to turn this 'feature' off.
    You should look in you login items under accounts under system preferences.
    Here is how to find out what version of Mac OS you are running:
    Click on the blue apple in the upper left hand of the screen.
    click on this icon
    Click on the first line, "About This Mac"
    Most of these are numbers & that's what we want.
    What version & Processor do you have?

  • Option to stop Excel download from OLAP analysis application

    Hi Experts,
    As a project requirement, we have to control (stop) Excel download from OLAP analysis application.  The PDF download however need to continue.
    I don't find any option using the "Authorization Control" on BOE platform. Is there anyway, we can achieve this ?
    Regards,

    Ahh... sorry Anil... I wasn't clear in my response. When I said "Ironically, it’s one of the features where we get requests for new capabilities." what I meant was that customers want to export to Excel feature to have even more capabilities.
    For example we added the option to have key and text values in separate columns, or to repeat the members names in stacked hierarchies. We also added supported for XLSX to overcome the 65535 row limit and changed the Export to Excel to use a streaming model so it is more efficient.
    In short, no one else has asked for Excel to be disabled... hence why posting to Idea Place is good.
    Kind Regards

  • Whenever i turn on my macbook pro ,, mac office , powerpoint and excel starts up itself , how can i stop this from happening?

    how can stop this from turning on itself?

    Apple menu -> System preferences -> Users -> select your user, and select Login Items.  There is where automatic launching happens.   The other thing is, with Mac OS X 10.8 and later, there is a checkbox when you restart or shut down your Mac to reopen windows that were open upon shutdown.  Make sure that checkbox is unchecked.  You aren't running Classic.  You are running some version of Mac OS X on a MacBook Pro.

  • Project Pro 2013 client Deployment with Lync 2010 and Team Explorer Excel Issues Following

    Current machines are Office 2010 SP1 or SP2 32-bit
    Just deployed Project 2013 Pro and Std to the existing machines that had Project 2010 Pro or Std.  We selected the full install since people use integration into different tools.
    Results:
    lync 2010 64-bit when attending a meeting prompted user to start using and download the Lync Web Component, which breaks features such as muting, etc.  
    A repair sent to the workstations for Lync 2010 64-bit fixed that.
    Team Explorer 2012 Export to excel from queries gives error Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Excel._Application'. This operation failed because
    the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: The interface is unknown. (Exception from HRESULT: 0x800706B5). 
    Repair of Team Explorer, Office, Test Manager 2012, etc did not assist.  if we go into excel and connect to TFS, we can then retrieve the query data.  Just not from TFS exporting to excel.  Had to unload Project 2013, repair Office 2010
    and rebooted with project off the machine and now it works.   It seems maybe the setup with the shared features and Office tools are breaking something?  We need the ability for VBA and .net functionality, but what could be breaking this?

    Hi,
    Your environment will support 32 bit of Project professional 2013 (x86) as you have Windows and Office of (X86).
    You try to modify registry then you wont face issue.
     The issue when you hit a "1653" is that Windows
    Installer "DisableRollback" is set. Office 2013 requires that "rollback" be enabled. If you are getting a "1653"
    error in your logs as Ken did then the solution is to delete the "DisableRollback" (or set to '0') at the following registry keys:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer
    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
     these are the issues I've seen:
    Scheduler service was stopped. At a cmd window typing "net start schedule" resolves the problem.
    CMD.exe was customized via the following registry key. Solution was to temporarily disable the customization by changing autorun value to autorun_old. 
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Command Processor
    Permission issues - seems some custom permissions affected Ingram's install which he explained in his previous post.
    Environment variable "ComSpec" had been modified (semicolon added). Fix was to remove the added semicolon (there should be no semicolon).
    The way to identify you are hitting this specific issue is if in the %temp%\OfficeSetup.log there is a mention of "Office64MUI.msi" failing to install with return value of 1603
    If you want to enable verbose logging via the following key, rerun your failed install, and collect all the setup and MSI* logs that will give more information.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
    "logging"= "voicewarmup"
    kirtesh

  • How can we stop iPrint from pushing out printers?

    Is there a global way to stop iPrint Client Management from pushing out printers? Or, is there a way to report on all group objects that have a printer assignment? We are trying to stop printers from being pushed, but we have 100+ group assignments, as well as some printers that are specifically assigned to users. Trying to find them all and then change them all is going to be a difficult task. We're hoping there's a setting in the Driver Store or Print Manager that we missed.
    Thanks,
    Joe

    jmarshallfcc,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Microsoft Exchange 2013 eDiscovery - specific search query: looking for specific hyperlinks within e-mails content/body

    Dear all:
    I am currently using the MS Exchange 2013 eDiscovery feature with the objective to identify which of my users have received emails containing specific hyperlinks (e.g. http://website1/webroot/file.zip, http://website2/webroot/file.zip, etc.) from an unknown
    sender.
    To this end, I have been creating an eDiscovery on-hold case looking for a specific search criteria in all mailboxes.
    As the search criteria, I have tried many options but was unable to obtain satisfying results: I know I am missing some e-mails from this specific search (I checked manually). I have notably tried the following search queries (with and without the body:
    search operator, with and without double quotes, etc.)
    body:http://website1/* OR body:http://website2/*
    body:"http://website1/*" OR body:"http://website2/*"
    body:"website1*" OR body:"website2*"
    body:"*website1*" OR body:"*website2*"
    When replaying these queries on my local Outlook client, everything works fine and I get results as expected.
    However, when going through the ECP eDiscovery feature, I am missing some results.
    Therefore, I am looking for any advice on what Exchange eDiscovery KQL query I should use to identify all emails containing, in their message body, a list of specific hyperlinks/URLs.
    Many thanks in advance for your help.
    S.

    Alas I do not know the answer to resolution via ECP and like you I have found it to be a bit maddening to use ECP for discovery tests Ive done when comparing results with our DigiScope product.  I know we can accomplish what your looking to do via Regular
    Expression but again that's with a 3rd party tool. 
    One thought is I suppose it could be an indexing issue with the DB, so perhaps rebuilding the index would help?
    If you do get it working I would love to know the resolution since many of my tests with ECP have left me yelling at the screen.  When its works its cool when not well...
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003
    --> 2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • Export To Excel from a VC Iview

    Hi all,
    I tried to  Export the data to an Excel  from a Table in a VC iView....I have created a Button on the Toolbar of table and added relavent code to do the exporting...But when i click on the button on iam getting the following error...
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iviews/com.sap.ip.bi.bex.
    Exception id: 04:23_14/04/08_0006_171933750
    See the details for the exception ID in the log file
    Do i have to change the Permissions for the above iview?
    Any answers would be rewarded...
    Thanks & Regards,
    P.Navakanth

    Hi Reddy,
    it has been some time ago you have posted this issue so I'm not sure if you still need a solution for this issue.
    Anyway, I assume you have found the manual regarding the export to excel, csv and pdf for Visual Composer (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123)
    We also had issues with the export funcationality described in the document. I don't recall the exact error message.
    Just some advice:
    Copy the code from the document into Notepad. Then, make sure you re-arrange the code into 1 single line (remove all enters). Then, copy the code into the formula editor of the hyperlink action. Don't forget to define a store (e.g. reptname) but that is explained in the document as well.
    Regards,
    Sven

  • How can we remove a specific hyperlink using Acrobat X Pro ?

    How can we remove a specific hyperlink using Acrobat X Pro ?

    If the link is a real annotation in the file, just switch to the link tool in Acrobat, select it and press Delete.
    The Acrobat Family will, by default, scan all the text in a PDF file and temporarily make any URL or email address into a hotlink. You cannot stop that from happening as it's a preference on the client side; the only solution would be to break the pattern by adding a hairline space next to the colon or the @ symbol.

  • HT201412 Iphone 4S screen stops working from time to time

    Iphone 4S screen stops working from time to time.
    sometimes for a few seconds, or sometimes many hours.
    I've resetted it when this happens, with no luck.
    I've restored it from back up, and the problem still persists.
    What can i do?

    Hello,
    I had that problem as well and the apple support suggested to turn off the LTE-mode to have a running system and try to exchange the micro-sim by my provider.
    THAT was not an option!
    BUT it seems to solve my problem in the following way after trying a lot of possibilties:
    In the menue properties/help (don't know the exact english word, because I run my phone in german)
    I switched on the nice feature 'flash LED' by incomming calls, msgs, and push infos.
    Today the flash feature was responding to different push notes very slowly.
    By switching this feature off the LTE-mode-tochscreen-not-responding-problem disappeared.
    We tried this on a other iphone, not having the metioned problem, and switched the LED-flash:
    the problem appeared. Switching the LED-flash off: problem disappeared!
    It seems to be a bug that the LED will hint Calls and MSGs in combination with the LTE mode!
    treated my phone very hard today to double check, but its still ok.
    @Apple:
    Please fix that issue in the next update.
    Hope, this helps you guys as well.

  • How to block text messages but not calls from a specific number

    I want to block text messages from my father but not his phone calls. Is there a way to do this? I have an iPhone 5, but don't want to upgrade to IOS7 yet.
    Thanks!

        You have a fantastic phone, joy3141. I double checked features for the iPhone 5 and confirmed there's not a way to block messages from a specific contact without blocking calls too. Our Call & Message Blocking http://vz.to/MqEgqB is a great way to block unwanted contact from specific numbers, but it would block both calls & messages. If your dad is on your account and you're hoping to block all of his text messages to or from anyone, there is a text message block available at www.vzw.com/serviceblocks you can add to his line.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • How do I stop Firefox from thinking it crashed and doing a recovery when forced to use Windows Task manager to close a bad URL that I never want to go back to?

    Long question, I know :~) There are web sites that I may visit that will not allow me to exit the site, so I use Alt-Ctrl-Del in Windows to start the Task Manager and force the site to close by ending the program. The new version of Firefox (31.0) thinks that Firefox crashed and send me right back to the source of my problem.
    Your documentation for this process is as follows:
    After a crash
    Due to unexpected issues such as problems with a website, software errors, or an accidental loss of power, Firefox may unexpectedly close. In these situations, Firefox can restore the pages that you were visiting when it is restarted. Firefox will automatically restore your previous session, the first time you launch it after a crash.
    If Firefox crashes a second time, the Restore Session (i.e. "Well, this is embarrassing") page will appear when you next launch Firefox.
    ...and this is what I found trying to stop this process. Next, when I am forced to use Task Manager to close Firefox a second time to stop a badware site, then the 'Well this is embarrassing' dialog appears and I am finally safely away from the URL.
    I do not want Firefox automatically sending me back to a problem site.
    Thank you for any procedure you can suggest to stop Firefox from restoring problem web pages, Art Clapton

    I am unwilling to attempt navigation away from these sites. The pop-ups that occur on the attempt to leave a site or to close the browser are exit traps offering incentive to stay.
    Once upon a time, when the internet was less dangerous, I would be willing to close the exit pop-ups. Now, after twice being infected with malware trying to close the pop-ups, I now force close whichever browser I am using.
    Recently, I clicked on the red X to close one pop-up, and it installed a trojan that I had to pay to be removed. When I clicked on 'Leave' in another exit pop, it didn't exit and it turned out I was giving permission to run a script file. Now that criminals have learned these exit pop-ups can be used to force a click action, the sites using them have become dangerous.
    If I force the browser to close using Task manager, Please tell me how to stop FireFox from sending me directly back to the same site because it mistakenly believes it crashed when it did not. I forced it to close because I was on a site that had taken control of my browser and was not allowing me to leave the site.
    No other browser sends me back to the potentially dangerous sites. I prefer Firefox, but the new version must have a setting that allows me to get safely away from a problem site?

Maybe you are looking for