Macro for Microsoft Bing Translator

Ingemar

New Member
Joined
May 8, 2017
Messages
23
Office Version
  1. 365
Platform
  1. Windows
DearExcel friends,

I have a question regarding a macro I wrote for translation of a text in an Excel cell, using Microsoft Bing Translator. The macro is as follows:

ActiveWorkbook.FollowHyperlink_
Address:="http://www.bing.com/translator/?to=en&text="& ActiveCell.Value

When running the macro, I get the text in the Excel cell, written in any language, pasted in the left screen of Bing Translator and the translation in English in the right screen. The macro do the job very well but what I do not like is that the text from the Excel cell is being part of the url, see example below.

Swedish text, to be translated: I år är det 50 år sedan den första landningen på månen.

https://www.bing.com/translator/?to=en&text=I%20år%20är%20det%2050%20år%20sedan%20den%20första%20landningen%20på%20månen.

English Translation: This year it is 50 years since the first landing on the moon.




If I manually go to the url https://www.bing.com/translator/ and manually paste the Excel text in the left screen in Bing Translator, I get the same translation in English in the right screen BUT, the url will be unchanged

https://www.bing.com/translator/

My question is: Is it possible to paste the Excel cell value, using another VBA code and avoid the Excel cell value being part of the url?

Kind regards

Ingemar
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top