Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Close macro container file through same macro coding

Hello All, My macro running through .ods file, When open .ODS file macro will execute and It will make another csv file which I called it "Output_file.CSV" and Output_file will close also But then I want to close my that file .ODS fiel, which I has opened it for execute macro

Simple when I click on .ods file , macro should be executed and after close both file output file and yes also .ODS file

here is my code for close "Output_file.CSV"

ThisComponent.CurrentController.Frame.Close(False)

Now how can I close also .Ods file through same macro coding

Lion

Close macro container file through same macro coding

Hello All, My macro running through .ods file, When open .ODS file macro will execute and It will make another csv file which I called it "Output_file.CSV" and Output_file will close also But then I want to close my that file .ODS fiel, file, which I has opened it for execute macro

Simple when I click on .ods file , macro should be executed and after close both file output file and yes also .ODS file

here is my code for close "Output_file.CSV"

ThisComponent.CurrentController.Frame.Close(False)

Now how can I close also .Ods file through same macro codingAnybody..?

Lion

Close macro container file or Terminate Libreoffice - through same macro coding

Hello All, My macro running through .ods file, When open .ODS file macro will execute and It will make another csv file which I called it "Output_file.CSV" and Output_file will close also But then I want to close my that file .ODS file, which I has opened it for execute macro

Simple when I click on .ods file , macro should be executed and after close both file output file and yes also .ODS file

Anybody..?

Lion

Close or Terminate Libreoffice - through coding

Hello All, My macro running through .ods file, When open .ODS file macro will execute and It will make another csv file which I called it "Output_file.CSV" and Output_file will close also But then I want to close my that file .ODS file, which I has opened it for execute macro

Simple when I click on .ods file , macro should be executed and after close both file output file and yes also .ODS file

Anybody..?

Lion