Copy cell value and paste it everywhere

Creating a macro - Writing a Script - Using the API

Copy cell value and paste it everywhere

Postby simo1985 » Tue Jul 03, 2018 12:04 pm

Hi, I have to do a macro that automatically copy the value of a cell.
I've searched in the forum and I found that a lot of people only need to paste the value in an other OO document and so they could use a variable.
Anyway I can't do it , because I want to manually paste the value in an other program.
Is it possible?
OpenOffice version: 4.1.5
Operating system: MacOS High Sierra, version 10.13.3
simo1985
 
Posts: 3
Joined: Tue Jul 03, 2018 10:52 am

Re: Copy cell value and paste it everywhere

Postby Zizi64 » Tue Jul 03, 2018 1:24 pm

Hi, I have to do a macro that automatically copy the value of a cell.

When do you want to copy the content of the cell onto the clipboard? The new content will overwrite the previous content of the clipboard. You will not able to use the clipboard, if you copy that cell too often onto the clipboard...
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.1 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7769
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 3 guests