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

Automate Open --> re-name for 1000 xls workbooks

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
BradyBunches
Newbie
Newbie


Joined: 03 Feb 2011
Posts: 3

PostPosted: Thu Feb 03, 2011 8:31 am    Post subject: Automate Open --> re-name for 1000 xls workbooks Reply with quote

Hi All,

I need to automate a procedure in OO Calc.

I have about 1000 xls workbooks that I need to open, rename and save as xls files.

I'd like to automate the procedure so my eyeballs don't fall out.

Anyone have a suggestion on this?

I'd like to just point a script or something at a folder and have Calc and script do the work for me.

Ideally, it would open a file called workbk1.xls, save it at wrkbk1-new.xls, and then move on to the next file in the folder.

I'm new to OpenOffice so i don't even know where to start.

Thanks,
Brady
Back to top
View user's profile Send private message
ftack
Moderator
Moderator


Joined: 27 Jan 2003
Posts: 3102
Location: Belgium

PostPosted: Thu Feb 03, 2011 8:55 am    Post subject: Reply with quote

Your intention is not clear. You want to rename spreadsheets?
_________________
--
GNU/Linux (Ubuntu)
Back to top
View user's profile Send private message
Robert Tucker
Moderator
Moderator


Joined: 16 Aug 2004
Posts: 3407
Location: Manchester UK

PostPosted: Thu Feb 03, 2011 8:56 am    Post subject: Reply with quote

Can you not use a batch script on Windows or a shell script if you are on Linux? I don't see why you need to open them all.
_________________
OpenOffice 4.0.0 and LibreOffice 4.x.x on Fedora 20, Ubuntu 13.10, Windows 8.1 Preview (Triple Boot)
Back to top
View user's profile Send private message
BradyBunches
Newbie
Newbie


Joined: 03 Feb 2011
Posts: 3

PostPosted: Thu Feb 03, 2011 10:30 am    Post subject: What I'm trying to do Reply with quote

We have a collection of Excel spreadsheets (several thousand generated by about 40 different people) Some of the users would protect certain cells on the sheets. This presents a problem for us, because we need to process these sheets with VBA code in excel to add, change or clear certain cells with in the workbooks.

While the spreadsheets themselves are uniform, the passwords certain users used to protect cells are not. In fact, some of the users have no recollection what the passwords could be, and some of the users are no longer with us.

So the plan is to open the spreadsheets in OO Calc, then save them back to xls. This will let me unprotect the cells I need without a password. Then I can run my VBA scripts in Windows to process the workbooks.

The piece of the puzzle I'm missing is how to automate the Open --> Save As in OO Calc.

I have access to Windows, Mac and Ubuntu platforms.

Thanks for your help...

Brady
Back to top
View user's profile Send private message
Robert Tucker
Moderator
Moderator


Joined: 16 Aug 2004
Posts: 3407
Location: Manchester UK

PostPosted: Thu Feb 03, 2011 11:30 am    Post subject: Reply with quote

Maybe JODConverter will do the job:

http://www.artofsolving.com/opensource/jodconverter
_________________
OpenOffice 4.0.0 and LibreOffice 4.x.x on Fedora 20, Ubuntu 13.10, Windows 8.1 Preview (Triple Boot)
Back to top
View user's profile Send private message
BradyBunches
Newbie
Newbie


Joined: 03 Feb 2011
Posts: 3

PostPosted: Thu Feb 03, 2011 9:39 pm    Post subject: JODConverter Reply with quote

Robert,

Thanks for the lead. JODConverter seems very nifty. I'll have a look and see if it will do the trick.

Thanks,
Brady
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc 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