OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Macro for exporting only one sheet in Calc?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
BMN
General User
General User


Joined: 07 Mar 2008
Posts: 24

PostPosted: Fri May 13, 2011 3:20 am    Post subject: Macro for exporting only one sheet in Calc? Reply with quote

Hi. Smile

I have a few sheets in Calc workbook and i'm trying to figure out how to automatize process of exporting only one sheet (the active one) to a PDF file. I already tried recording a macro, but it failed, of course.

It's a relatively simple task, but since i don't how to code, it's sth i just can't solve...

Here are the steps:

File - Export as PDF... - select "Selection" - Export - Save as dialog.

The final point is just opening a "Save as dialog" and not to save it automatically to a predefined location.

I also found a few threads and codes to do a similar task, but they all save PDF files to a predefined location, or mess up a print range.

Any help would be appreciated.

Thanks in advance. Smile

P.S. i use OOo 3.2.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group