Skip to content

ytyaru/Shell.LibreOffice.Calc.Macro.Python.20200925123834

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ja

LibreOffice.Calc.Macro.Python

Write Python macros in LibreOffice Calc.

DEMO

demo

Requirement

$ uname -a
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux

Installation

sudo apt -y install libreoffice libreoffice-l10n-ja libreoffice-help-ja
git clone https://github.com/ytyaru/Shell.LibreOffice.Calc.Macro.Python.20200925123834

Usage

cd Shell.LibreOffice.Calc.Macro.Python.20200925123834/src
./run.sh
  1. Start LibreOffice Calc
  2. Click Menu → ToolsMacrosManage MacrosPython
    demo
  3. Open My Macrohello_unohello from the tree
  4. Click the Run button
    demo
  5. 999 is entered in A1 of Sheet1
    demo

Set security to "medium"

If the macro cannot be executed, set the security to "medium".

  1. Start LibreOffice calc
  2. Click Menu → ToolsOptions
  3. Click LibreOfficeSecurity from the tree on the left side of the dialog
  4. Click the Macro Security button on the right side of the dialog
  5. Click the radio button medium in the security level tab`
  6. Click the OK button

Author

ytyaru

  • github
  • hatena
  • mastodon

License

This software is CC0 licensed.

CC0

About

Write Python macros in LibreOffice Calc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published