Can't import hyperlink to Open Refine - openrefine

I imported an .xlsx file where one of the columns is filled with hyperlinks, but the links don't show on OpenRefine, just the value.
Does it happens only on Linux or it's the same thing with Windows?
If not, is there any other way to import those hyperlinks?

OpenRefine will not load the link from an XLS or XLS or ODS file in general.
You need to extract those link first into a new column in Excel. A quick search pointed to this tutorial: Excel: convert a column with hyperlinks to just display the links

Related

VBA to create Mapinfo table & points

not very good at VBA, just in the basics so got stuck at below idea.
I want a VBA to create a MapInfo Tab file and points with Legend from a table in excel with given coordinates and legend based on another column.
searched a lot online, but couldn't find more than the below.
CreateObject("MapInfo.Application")
Please guide me to accomplish this.
Thanks
There are two ways of doing this.
First option is to open MapInfo application (with CreateObject("MapInfo.Application")) and create TAB file there. However, this would be basically to write an MapBasic program, VBA would be only used to start MapInfo.
The second options is to create a MIF/MID file. These are two plain text files which can be imported into MapInfo. At this page Pitney Bowes states "We do publish the MapInfo Interchange Format (MIF\MID) files in our documentation", however you find it in Chapter 13 at normal MapInfo User Guide.
I would recommend the second option. Creating two plain text files in VBA should be feasible. A good starting point would be to create a TAB file manually and export this TAB file as MIF/MID, then you have a valid example file.

Convert HTML-table to Excel

I am trying to convert an HTML-table to an Excel table. The problem is that Excel changes the table in the following way:
Text converted to date
Numbers in parentheses are now negative.
Numbers are rounded or truncated.
All horizontal lines are removed.
Below is an example of a HTML-table opened in Excel 2016 by right-clicking the table, choosing "open with excel".
Is this possible to do? (without having manually revert the changes).
Example table
The raw html table can be downloaded here:
https://raw.githubusercontent.com/rasmusrhl/stuff/master/table.html
and as webpage here:
https://rasmusrhl.github.io/stuff/
I can solve one of your issues. Sorry about the others :(
Open Excel and create a new empty spreadsheet
Choose From Web on the Data ribbon Enter the URL of your HTML
Click Go to load the HTML
Click Options in top-right of the toolbar
Tick Disable date recognition
Now click Import

Multiple PDF + Excel list

i am trying to do something a bit difficult (for me) here. So i have a PDF with over a 100 pages and an excel sheet with all the corresponding names of each page.
So what i want is a way to split the PDF into individual PDFs and rename them according to the excel sheet.
Thanks in advance.
Do you have Acrobat?
There is a function to split PDFs by pages, book marks etc in there. I am sure other PDF editing software has a similar feature.
You can then write a VBA script or similar to read the Excel and rename the files, if you are comfortable with code: How to rename multiple pdf files used excel database vba
Or you could try a file name changing software, something like http://www.bulkrenameutility.co.uk/Main_Intro.php

Save excel as pdf changing its orientation to horizontal

I have an excel sheet with too many columns, so when I save it as a PDF the file its in too many pages and its not easy to read . I need to save the sheet as pdf but before I want to change its orientation to horizontal so I can read the pdf with no problem. Is the same you can do when you print but I want it when I save an excel file as pdf.
Is there any option I can choose?
I dont mind if someone gives me a code for a macro using my selection as an object.
Under the "Page Layout" tab, click the "Orientation" option and then select "Landscape."
Then create your PDF as usual.
You can save Excel files in PDF, even without using Excel. I use a program Universal Document Converter (http://www.print-driver.com/how-to/save-excel-as-pdf). This program allows you to quickly and easily create print-ready PDF-files on the basis of the original spreadsheets Excel.

How can you insert VBA or any code into a csv?

I was able to make macros in excel and then run them when opening them. But when I save the file it doesnt save my macros.
How can I make a csv execute code?
Comma Separated Values (CSV) is more or less a standard file format and is only plain text. See https://www.rfc-editor.org/rfc/rfc4180 for more information.
The reason people made different, more complicated file formats is because they wanted to store things (like code or formatting) that plain text doesn't support.
If you want to store code, you have to use a different file format.
When you save the file as .csv, export your VBA into a set of .bas files.
When you open the .csv file, you can also import the saved .bas files into VBA as well.