Excel hyperlink to google sheets not working - excel

When I click on a hyperlink with gsheet url in excel, "Update your browser to use Google Drive, Docs, Sheets, Sites, Slides, and Forms" page opens in browser each time. And when I manually copy paste the link in browser, it works.

It is not caused by malware, it is likely a Windows update that causes Office and Google Docs not to communicate correctly.
See this link for more details

The thing is you cannot click on cell link, you need to hover the cell and after that click on appearing link. That's how links in google sheets work

I found a solution to overcome this challenge. Using the Shell command I was able to achieve it. I used VBA to execute the command:
Shell "explorer ""https://www.google.com"""
This command will open the URL in default browser of user.

Related

Fetch values from HTML files to Excel sheet

I have multiple HTML files in my folder. I need to fetch some data from each html files and copy those value in excel sheet using VBA MACRO. how to write code to achieve this?.
And the html files should open in Microsoft edge browser (not in IE)
If any one knows the solution please help me out.
Thank you
You said,'the HTML files should open in Microsoft Edge browser (not in IE)'.
If your goal is to copy the data to an Excel sheet then I think it should not matter whether you are doing it via IE or Edge.
If you are thinking that as IE browser is retired on some Windows OS and your IE VBA Automation will not work then I would like to inform you that IE VBA automation will continue to work even after the IE browser retirement.
If you still want to automate the Edge browser then as suggested by the community member, you will need to use the web driver.
For VBA IE Automation the general idea would be to create an object of the IE or Edge browser from the Excel VBA editor. Launch the browser. Browse the web page. browse to the web element and copy the data to the Excel sheet.
If you use Selenium then you also need to use the library for Excel and create an object of the Excel file.
For more information, you could refer to the links below.
Use WebDriver to automate Microsoft Edge
Automate Microsoft Edge
Similar kinds of articles and docs you could find for the IE VBA Automation.
You could refer to the docs and try to make tests on your side. If you are stuck somewhere or have any questions. you could post a new question on this forum.

Running a PowerQuery on Google Sheet - keeps failing

I'm trying to run a PowerQuery on a work-related Google Sheet (that I can't share here) so that the data appears in Excel and refreshes when I need it to.
I have published the Google sheet to the web and gotten the link (in web format, not Excel, but this is failing no matter which file format I publish in).
I then go to Data->From Web in Excel and I paste the link to the Google Doc get this:
Query Preview
As you can see, the data isn't appearing. It should be a table with a bunch of data.
Can someone help me fix this?
When using Google's File / Publish to the web pop-up, change the 2nd setting from "Web page" to "Microsoft Excel (.xlsx)". It then builds a link that works without modification in Power Query.
FYI the best in-depth discussion on this topic is on this thread:
http://community.powerbi.com/t5/Integrations-with-Files-and/How-to-connect-google-sheet-to-Power-BI/m-p/205058#M11276
BTW if you have published your Google sheet to the web, then there shouldn't be any obstacle to sharing it here - it's already visible to anyone.

Excel hyperlink works only once each time Excel is restarted

I need to prevent Excel hyperlinks from being redirected by website scripts. Details are below.
In a Microsoft Excel spreadsheet, I use the formula =hyperlink("url") to define hyperlinks to various websites. For most websites, the hyperlinks work as expected; however, some websites have implemented a script to redirect the hyperlink after the first click. The first time I click on the hyperlink after starting Excel, the hyperlink works correctly. Subsequent clicks on the hyperlink are redirected until I restart Excel. I am able to defeat the script (and thus prevent the redirect) by adding the website domain to Internet Explorer's "Restricted Sites" (under the IE Security tab); however, this breaks other functionality of the hyperlinked website. How can I prevent this unwanted redirect without adding the domain to Restricted Sites? If I could somehow clear the hyperlink cache after the hyperlink is clicked (using Excel VBA), that would be an acceptable option.
I am running Excel 2016 (32-bit) in Windows 7 (32-bit) with IE 11.
I was having this same exact problem. My default browser is chrome, but somehow IE was affecting Excel links. I added the website to IE's restricted sites which allowed me to actually open the link. Since chrome is my default browser, it opens up and works perfectly in chrome (retains functionality).

Export to excel in SAP WebGui using ALV

I have a problem with SAP WEBGUI when I try to export my ALV in Excel file.
So I used the button Local File. When I choose
and I press confirm button, nothing happens. After this operation, any other button doesn't work.
Can you help me? I'm using WEBGUI on Google Chrome
Does it work in SAP GUI itself?
Can you look at the network traffic / console of your browser and see what happens during export?
SAP has special note 314568 concerning limitations of SAP-GUI for HTML.
There, in particular, it is stated that:
Excel-Export available via "XML-export" Other export options are not
provided by the ALV framework in a Web environment
So use XML-export and paste its contents into Excel file.
P.S. Here is the old version of the above note, if you have no S-user.

Simple Paypal link in Excel not working

I'm wondering why my Paypal donate link in excel is not working?
I have tried inserting an image and adding the Paypal donate button email link to the image as a hyperlink and I have tried just adding the hyperlink into an excel cell by itself with no success.
I emailed the link to my self and it works that way...
The excel file is a macro enabled workbook. excel 2010
This is because of how Microsoft Office looks up and caches links. I've heard of this problem but I don't know of a viable intra-Office solution.
What you can do is put your email links or buttons on a web page -- there are many free hosting providers available -- and then link to that web page from Excel.
I was able to add a link to a cell in excel which takes a user to a page on my site which then redirects them to PayPal. A little clunky but working for now.

Resources