How to write macro to move object via if function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All
I am trying to write a macro that will move an auto shape depending upon the
results of an IF condition. i.e. if A1<A2 move object from here to there.

Thanks in advance
 
Can't be done. User defined functions can return a result, they can
manipulate objects.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Just to clarify...

Do you mean an if condition in a worksheet formula?

Or an If statement in a subroutine?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top