פקודות מאקרו ב- OpenOffice Calc - מדריך
מקרואים פופולריים מאוד בכל מה שקשור לאוטומציה של רצפי תוכניות. במאמר זה תלמדו כיצד ליצור מקרואים בגיליון האלקטרוני OpenOffice Calc.
OpenOffice Calc: מקליט המאקרו
"OpenOffice" היא אלטרנטיבה חופשית ושווה ל- Microsoft Office. בדומה ל- Excel, אתה יכול גם ליצור פקודות מאקרו של OpenOffice Calc בגיליון האלקטרוני. אתה יכול להקליט פקודות מאקרו או שאתה יכול לתכנת אותם. עבור האחרונים, אתה זקוק לידע בסיסי בשפת התכנות הבסיסית OpenOffice.org.
- התחל להקליט: כדי להתחיל להקליט מאקרו, עבור אל "כלים" -> "מקרואים" -> "הקלט מאקרו" בשורת התפריט. התוכנית רושמת את פעילויותיך ברקע. בשלב הבא, בצע את הצעד שברצונך להפוך לאוטומציה. לדוגמה, אתה יכול ליצור תרשים עם ערכים ריקים. אם אתה מזין ערכים בטבלה בשלב מאוחר יותר ומריץ את המאקרו, הוא יימלא באופן אוטומטי. לאחר שתסיים להקליט, לחץ על "עצור הקלטה". אז אתה צריך רק לתת למאקרו שם ולשמור אותו.
- ביצוע מאקרו: אתה זקוק לסביבת Java Runtime כדי לבצע מאקרו. אם זה לא מותקן במחשב האישי שלך, תקבל הודעה מ- OpenOffice. מסיבות אבטחה, וודא שהגירסה הנוכחית מותקנת. להפעלת מאקרו מוקלט, עבור אל "כלים" -> "מקרו" -> "הפעל מאקרו ..." בסרגל התפריט.
- הוסף סמל: אם ברצונך לגשת ישירות למאקרו שלך באמצעות סמל, לחץ על חץ אפור בסרגל הכלים ואז על "התאם אישית סרגל כלים ...". באמצעות "הוסף ..." אתה יכול להציב אלמנטים חדשים בסרגל הכלים שלך. הערך האחרון בשדה "אזור" מכיל מקרואים. השתמש בחצים כדי לקבוע את מיקום המאקרו.
OpenOffice Calc: מאקרו של התוכנית
אם אתה מכיר תכנות, אתה יכול גם ליצור מאקרו בעצמך. ל- OpenOffice סביבת פיתוח משלה. הוראות מפורטות ניתן למצוא בעמוד הוויקי של היצרן.
- המבנה הבסיסי: ניתן לראות כיצד נראה המבנה הבסיסי ממאקרו מוקלט. לשם כך, עבור אל "כלים" -> "מקרואים" -> "נהל פקודות מאקרו" -> "OpenOffice Basic ..." בסרגל התפריט. בחר במאקרו שלך ולחץ על "ערוך ...". כעת תוכל לכתוב קוד מקור משלך בסביבת הפיתוח (IDE).
טיפ מעשי נוסף מראה לך כיצד להגן על מסמך OpenOffice באמצעות סיסמה.