title: Calling macro in java
body: <p>im new to java programing.</p>
  
  <p>I want to create a simple program that reads a .xls / .xlsx document, calls a macro, and saves the file. Im using org.apache.poi and everything seems fine except for calling a macro. Ive been looking up for some tips on forums but found nothing.</p>
  
  <p>macro was created before and its saved. i just have a lot of documents and dont want to do it manually.</p>
  
  <p>in Java Ive created a workbook, created a sheet. How to call a macro to be done? should i refer to a workbook or sheet itself?</p>
  
  <p>thanks in advance!</p>