hyperlink inserted with pandas need edit before working libreoffice:
(using .to_excel in pandas)
hyperlink are ok, but showing 0,
if I add a space, for example, then press Enter, the link will come "alive" and I will be able to click on the hyperlink as normal.
I searched google for any hyperlink issues in libreoffice, and I could not find any that relevant as permission for hyperlink is allowed in my libreoffice.
Related
First of all, thank you #Tanaike for the answer.
First goal: I have a Google Forms, and I want to program an automatic report on Google Slides.
Then for each question (text format) on Form, I want put this response that will be on Form's spreadsheet in a label text at Google Slides.
It would be a text label for each page on Slides. I have 4 questions on Forms, then the slide should have 4 pages, each page with the answer of each question.
I thougth it was possible just with built-in functions of Spreadsheet. That leads me to second goal:
Create a script on spreadsheet with trigger start "on save".
This script will take each cell's content and will put on each Google Slides' label text.
Any help will be apreciated!
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
I have an existing PDF template, and I want to add some text over the top of it in a specific location on a specific page. For example, an invoice template or a scanned document.
How would I go about this? I'm using Sheets if that narrows my options.
There is a lot of documentation on how to create PDFs from documents, but nothing that will take a particular PDF and put text over it.
A bit of blue sky thinking from my side. What if you were to do the following?
Manually:
Export the PDF as an image
Resize a Google slide to be the same shape as the image
Add the image to the google slide as a background image
In Code:
Make a copy of the google slide as needed
Add your Google sheets data to the slide positioned as needed on the slide
Export the Google slide as a pdf
I mention google slides, because Google docs to not have allow background images.
Another possibility with using Google docs is to build a document that looks like your invoice, then add to it tags. In your code search for the tags and replace them with data from your sheet. Even you could use a mail merge addon to do this if you didn't fancy writing any code.
In your Google Drive right-click on your PDF;
Open With > Connect More Apps > Search docusign > Left-click blue connect button and this should take you to Docusign.
Your PDF will then open with Docusign where you can manually add a signature or text to specific places.
Alternatively... You can use App Script.
Example,
Constructing a document using HTML and replacing the specific value with a variable which is collect from a Sheet or particular location. Writing the function to do this will allow you to interpret the HTML and replace the variable with the text or possibly an image. Then it would create this as a PDF.
There are many alternative ways to do this.
Here is one example on github;
Convert Google Doc to PDF using App Script
Is there a way to enable matplotlib/ipython so I can right click my plots (in Chrome) and copy then paste elsewhere such as MS Word etc?
I know I can code and save to image etc, but often when I am playing around investigating data it would be very useful to just copy / paste into a document for safekeeping and reports.
EDIT: Problem seems to be using MS Word (2010) and any dynamic image from any Browser (IE/Chrome), If I use other progs like Write it works okay. I found some advice to change the "Pasting from other programs" option in Word settings but it has no effect.
Also another article says the problem is based on the contents of the "HTML Format" format stored in the clipboard.
Guess I need to post this question elsewhere seems to be an MS Word issue!
If you control-shift right click, it'll return to the standard Chrome context menu instead of the iPython one.
EDIT: the below answer doesn't always work anymore (something changed I think), but there is another stack overflow question here with an answer that is working, namely using Ctrl+Alt+V to do a paste-special:
Jupyter Notebook: How to copy paste image into MS word?
A straight Ctrl+V will generally fail in MS Office for this purpose, but there is the "paste image" option which is what is working for me.
If you're using ipython notebook (which I guess you must be, since you're mentioning using Chrome), you can just right-click on your graph and choose Copy Image then paste into whatever software
Drag and drop worked for me using Chrome and MS Word on macOS.
I am creating a macro that converts a Word 2007 document into a structured PowerPoint 2007 presentation. I am looping over all the paragraphs of the document and copying them over to the new presentation.
I am able to copy and paste the paragraphs to the presentation just fine. But I also need to be able to copy and paste the pictures from the Word document into the PowerPoint (and in the right location between paragraphs).
So far, I am able to detect if a paragraph is a picture by looking at the paragraph's style attribute - it will say "Figure". But, I don't know what to do from there. After looking online, it looks like I should be able to do this:
paragraphFromDocument.Range.Copy
currentSlide.Shapes.Paste
But, this doesn't seem to work. How do I copy a picture from Word to PowerPoint?
Thanks
EDIT
I've also tried:
paragraphFromDocument.Range.CopyAsPicture
currentSlide.Shapes.PasteSpecial(ppPasteMetafilePicture)
and get this error message:
Shapes.PasteSpecial : Invalid Request. Clipboard is empty or contains data which may not be posted here.
But, when I use that CopyAsPicture command, I am able to open up PowerPoint (with the picture still on the clipboard from the macro) and use the Paste Special command to paste the picture to the slide.
paragraphFromDocument.Range.Copy
currentSlide.Shapes.Paste
actually did end up working, but I had to remove all special characters from the range first. That is why it was giving me the error message.