Makrot OpenOffice Calcissa - opetusohjelma
Makrot ovat erittäin suosittuja ohjelmasekvenssien automatisoinnissa. Tässä artikkelissa opit luomaan makroja laskentataulukkoon OpenOffice Calc.
OpenOffice Calc: makrotallennin
"OpenOffice" on ilmainen ja tasavertainen vaihtoehto Microsoft Officelle. Voit luoda Excel-tapaan myös OpenOffice Calc -makroja laskentataulukoihin. Voit joko tallentaa makroja tai ohjelmoida ne. Jälkimmäiselle tarvitset perustiedot OpenOffice.org -ohjelmointikielestä.
- Aloita nauhoitus: Aloita makrojen nauhoittaminen valitsemalla valikkoriviltä "Työkalut" -> "Makrot" -> "Tallenna makro". Ohjelma kirjaa nyt toiminnot taustalle. Seuraavaksi suorita automatisoitava vaihe. Voit esimerkiksi luoda kaavion tyhjillä arvoilla. Jos syötät arvot taulukkoon myöhemmässä vaiheessa ja suoritat makron, se täytetään automaattisesti. Kun olet lopettanut nauhoituksen, napsauta "Lopeta tallennus". Sitten sinun on annettava makroon vain nimi ja tallennettava se.
- Suorita makro: Tarvitset "Java Runtime Environment" -makron suorittamiseen. Jos tätä ei ole asennettu tietokoneellesi, saat viestin OpenOfficesta. Varmista turvallisuussyistä, että nykyinen versio on asennettu. Suorita tallennettu makro valitsemalla valikkoriviltä "Työkalut" -> "Makrot" -> "Suorita makro ...".
- Lisää symboli: Jos haluat käyttää makroa suoraan symbolilla, napsauta harmaata nuolta työkalurivillä ja sitten "Muokkaa työkaluriviä ...". "Lisää ..." -sovelluksella voit sijoittaa uusia elementtejä työkalurivillesi. Alue-kentän viimeinen merkintä sisältää makrot. Määritä makron sijainti nuolilla.
OpenOffice Calc: ohjelman makro
Jos tunnet ohjelmoinnin, voit myös luoda makron itse. OpenOfficessa on oma kehitysympäristö. Yksityiskohtaiset ohjeet ovat valmistajan wiki-sivulla.
- Perusrakenne: Voit nähdä, miltä perusrakenne näyttää tallennetusta makrosta. Voit tehdä tämän valitsemalla valikkoriviltä "Työkalut" -> "Makrot" -> "Hallitse makroja" -> "OpenOffice Basic ...". Valitse makro ja napsauta "Muokkaa ...". Voit nyt kirjoittaa oman lähdekoodisi kehitysympäristöön (IDE).
Toinen käytännöllinen vinkki näyttää kuinka suojata OpenOffice-asiakirja salasanalla.