Thread: UDF
View Single Post
  #5   Report Post  
 
Posts: n/a
Default

Hi

My worksheet has the following:-

In Cell B a received invoice date is input
In Cell C a received invoice date at cost center is input
In Cell D the following formula is input to calculate the
number of days =DAYS360(B4,C4)

What I am trying to achieve is if the number of days
calculated is over 15 staff have to issue a late invoice
letter.
So if I could get some sort of message to appear this
will ensure that this is done.

Thanks for your help

-----Original Message-----
What exactly you want to do? Probably you can do it

using data validation.


--
Arvi Laanemets
(When sending e-mail, use address arvil<Attarkon.ee)


wrote in message
...
Any suggestions on how to resolve this.

thanks
-----Original Message-----
Hi
you can't insert this function in G4 as you can't have

both: a value and a
formula in the same cell

--
Regards
Frank Kabel
Frankfurt, Germany

Mark wrote:
If i put the following info into my worksheet it

comes
up
with a circular reference error.

Public Function PromptPayment()
MsgBox "Please issue Prompt Payment Letter"
End Function

then in cell G4 i input the following:-
=DAYS360(E4,F4)=IF(G415,PromptPayment(),"")

and if i just input this instead
=IF(G415,PromptPayment(),"")

I still get the same error.
any suggestions welcome.
i am not an expert in this field.

thanks


.



.