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

BASE function broken?

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


Joined: 14 Oct 2006
Posts: 4

PostPosted: Sat Oct 14, 2006 3:14 am    Post subject: BASE function broken? Reply with quote

When I use the BASE function (for example, BASE(A2;16;2)) it works fine while I have the document open, but if I save, close and reopen, then the cells will contain #MACRO? instead of the result of the function as they should.

Am I forgetting to do something or is this indeed broken?
Back to top
View user's profile Send private message MSN Messenger
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Sat Oct 14, 2006 9:10 am    Post subject: Reply with quote

I can't reproduce this with OOo2.0.2(Linux).
A1: 10
A2: '10 (string)
=BASE(A1;16;2) and =BASE(A2;16;2) keep returning "0A" after reload.
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
geoff80fg
OOo Advocate
OOo Advocate


Joined: 26 Jul 2006
Posts: 420
Location: UK

PostPosted: Sat Oct 14, 2006 9:40 am    Post subject: Reply with quote

No problems on Windows XP either.

Geoff
Back to top
View user's profile Send private message
NRen2k5
Newbie
Newbie


Joined: 14 Oct 2006
Posts: 4

PostPosted: Sat Oct 14, 2006 7:47 pm    Post subject: Reply with quote

The value I'm reading into the macro is in column A, the macro is in column C. See if you can reproduce it there.
Back to top
View user's profile Send private message MSN Messenger
geoff80fg
OOo Advocate
OOo Advocate


Joined: 26 Jul 2006
Posts: 420
Location: UK

PostPosted: Sun Oct 15, 2006 12:02 am    Post subject: Reply with quote

Have you written a macro to do this? There is a Function BASE() that everybody else uses.

Geoff
Back to top
View user's profile Send private message
NRen2k5
Newbie
Newbie


Joined: 14 Oct 2006
Posts: 4

PostPosted: Sun Oct 15, 2006 3:21 am    Post subject: Reply with quote

no, just the formula. But since OOo Calc calls it a "macro".........

Could it be because I'm saving the document in Excel 97/2000/XP format and the format itself doesn't support the BASE() function?
Back to top
View user's profile Send private message MSN Messenger
geoff80fg
OOo Advocate
OOo Advocate


Joined: 26 Jul 2006
Posts: 420
Location: UK

PostPosted: Sun Oct 15, 2006 4:49 am    Post subject: Reply with quote

Yes. I get the same result when saving as an .xls file.
Presumably it's looking for a non-existent macro.

Geoff
Back to top
View user's profile Send private message
NRen2k5
Newbie
Newbie


Joined: 14 Oct 2006
Posts: 4

PostPosted: Mon Oct 16, 2006 5:14 am    Post subject: Reply with quote

Oh, bingo! It doesn't give me any trouble when saved in OOo Calc's own format either.

Is there any place which I can refer to that would tell me which functions (like this one) are unique to OOo Calc and wouldn't work in Excel or Excel docs?

Thanks.
Back to top
View user's profile Send private message MSN Messenger
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