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

run a macro based on validity of cell

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


Joined: 11 Oct 2011
Posts: 1

PostPosted: Tue Oct 11, 2011 3:10 pm    Post subject: run a macro based on validity of cell Reply with quote

Hi,

I recorded a macro to capture DDE data and paste it on next row as numbers.

I have a cell 'P2' that I set validity on to whole numbers, valid if it equals 0. If it equals 1 I need to run the macro. This cell works when I enter a '1' manually as it should, however when the cell result changes to 1 by the (DDE) formula it doesn't run.

I'm trying to find a way to run this 'capture' macro automatically when this cell changes from 0 to a 1.
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Wed Oct 12, 2011 12:24 am    Post subject: Reply with quote

http://api.openoffice.org/docs/common/ref/com/sun/star/util/XModifyBroadcaster.html
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
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 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