#1   Report Post  
Monty
 
Posts: n/a
Default message box

Hi all,

At present i have to cells with dates input by staff, in the third cell the
number of days are calculated. can i run a formula to bring up a message box
to say issue prompt payment letter if the days calculated are over 15.
thanks
  #3   Report Post  
Mark
 
Posts: n/a
Default

How can you do this??

Thanks
-----Original Message-----
Yes, you could use a worksheet_change event triggered by

input into the 2nd
cell.

--
Don Guillett
SalesAid Software

"Monty" wrote in

message
news:F21C86D4-75BD-4FE8-B774-

...
Hi all,

At present i have to cells with dates input by staff,

in the third cell
the
number of days are calculated. can i run a formula to

bring up a message
box
to say issue prompt payment letter if the days

calculated are over 15.
thanks



.

  #5   Report Post  
Monty
 
Posts: n/a
Default

sorry tried this no luck!!

"Don Guillett" wrote:

right click worksheet tabview codecopy/paste thismodify to suitSAVE
Now, put a numbe in l5 and watch what happens.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$L$5" Then Exit Sub
Target.Offset(1, 4) = Target * 3
End Sub
--
Don Guillett
SalesAid Software

"Mark" wrote in message
...
How can you do this??

Thanks
-----Original Message-----
Yes, you could use a worksheet_change event triggered by

input into the 2nd
cell.

--
Don Guillett
SalesAid Software

"Monty" wrote in

message
news:F21C86D4-75BD-4FE8-B774-

...
Hi all,

At present i have to cells with dates input by staff,

in the third cell
the
number of days are calculated. can i run a formula to

bring up a message
box
to say issue prompt payment letter if the days

calculated are over 15.
thanks


.






  #8   Report Post  
Don Guillett
 
Posts: n/a
Default

Did you notice the first line and my statement about cell L5?
If Target.Address < "$L$5" Then Exit Sub

Now, put a numbe in l5 and watch what happens.
change to B1 if that is the ONLY cell you want to influence this
calculation.

--
Don Guillett
SalesAid Software

"Mark" wrote in message
...
Hi

I followed your instructions below and copied then pasted.

In Cell A1 i input 12/10/04

In Cell B1 i input 12/12/04

In Cell C1 i input the formula =DAYS360(A1,B1) which
returned the number 60. nothing else happened.

CAn you please help.
MArk




-Original Message-----
It does work!! What did you do?

--
Don Guillett
SalesAid Software

"Monty" wrote in

message
news:32A701B1-4193-4210-B623-

...
sorry tried this no luck!!

"Don Guillett" wrote:

right click worksheet tabview codecopy/paste

thismodify to suitSAVE
Now, put a numbe in l5 and watch what happens.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$L$5" Then Exit Sub
Target.Offset(1, 4) = Target * 3
End Sub
--
Don Guillett
SalesAid Software

"Mark" wrote

in message
...
How can you do this??

Thanks
-----Original Message-----
Yes, you could use a worksheet_change event

triggered by
input into the 2nd
cell.

--
Don Guillett
SalesAid Software

"Monty" wrote in
message
news:F21C86D4-75BD-4FE8-B774-
...
Hi all,

At present i have to cells with dates input by

staff,
in the third cell
the
number of days are calculated. can i run a

formula to
bring up a message
box
to say issue prompt payment letter if the days
calculated are over 15.
thanks


.






.



  #9   Report Post  
Monty
 
Posts: n/a
Default

Still no joy with this nothing happens.
when i hit run in the microsoft visual basic it comes up with a macros
screen which is blank, so i have to cancel .
any ideas will be welcome
"Don Guillett" wrote:

Did you notice the first line and my statement about cell L5?
If Target.Address < "$L$5" Then Exit Sub

Now, put a numbe in l5 and watch what happens.
change to B1 if that is the ONLY cell you want to influence this
calculation.

--
Don Guillett
SalesAid Software

"Mark" wrote in message
...
Hi

I followed your instructions below and copied then pasted.

In Cell A1 i input 12/10/04

In Cell B1 i input 12/12/04

In Cell C1 i input the formula =DAYS360(A1,B1) which
returned the number 60. nothing else happened.

CAn you please help.
MArk




-Original Message-----
It does work!! What did you do?

--
Don Guillett
SalesAid Software

"Monty" wrote in

message
news:32A701B1-4193-4210-B623-

...
sorry tried this no luck!!

"Don Guillett" wrote:

right click worksheet tabview codecopy/paste

thismodify to suitSAVE
Now, put a numbe in l5 and watch what happens.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$L$5" Then Exit Sub
Target.Offset(1, 4) = Target * 3
End Sub
--
Don Guillett
SalesAid Software

"Mark" wrote

in message
...
How can you do this??

Thanks
-----Original Message-----
Yes, you could use a worksheet_change event

triggered by
input into the 2nd
cell.

--
Don Guillett
SalesAid Software

"Monty" wrote in
message
news:F21C86D4-75BD-4FE8-B774-
...
Hi all,

At present i have to cells with dates input by

staff,
in the third cell
the
number of days are calculated. can i run a

formula to
bring up a message
box
to say issue prompt payment letter if the days
calculated are over 15.
thanks


.






.




  #10   Report Post  
Don Guillett
 
Posts: n/a
Default

What I gave you originally was an example of how a worksheet_change event
works.

You do NOT put in the ThisWorkbook or a regular module. It goes in the SHEET
module as per my instruction of "right click sheet tabview codecopy/paste"

The macro will fire AUTOMATICALLY when you enter something in the referenced
cell. It is usually restricted to a column and below a row. In the example I
sent, I restricted to cell L5, AS AN EXAMPLE.

Exactly what did you modify the macro to? Copy/paste here.

--
Don Guillett
SalesAid Software

"Monty" wrote in message
...
Still no joy with this nothing happens.
when i hit run in the microsoft visual basic it comes up with a macros
screen which is blank, so i have to cancel .
any ideas will be welcome
"Don Guillett" wrote:

Did you notice the first line and my statement about cell L5?
If Target.Address < "$L$5" Then Exit Sub

Now, put a numbe in l5 and watch what happens.
change to B1 if that is the ONLY cell you want to influence this
calculation.

--
Don Guillett
SalesAid Software

"Mark" wrote in message
...
Hi

I followed your instructions below and copied then pasted.

In Cell A1 i input 12/10/04

In Cell B1 i input 12/12/04

In Cell C1 i input the formula =DAYS360(A1,B1) which
returned the number 60. nothing else happened.

CAn you please help.
MArk




-Original Message-----
It does work!! What did you do?

--
Don Guillett
SalesAid Software

"Monty" wrote in
message
news:32A701B1-4193-4210-B623-
...
sorry tried this no luck!!

"Don Guillett" wrote:

right click worksheet tabview codecopy/paste
thismodify to suitSAVE
Now, put a numbe in l5 and watch what happens.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$L$5" Then Exit Sub
Target.Offset(1, 4) = Target * 3
End Sub
--
Don Guillett
SalesAid Software

"Mark" wrote
in message
...
How can you do this??

Thanks
-----Original Message-----
Yes, you could use a worksheet_change event
triggered by
input into the 2nd
cell.

--
Don Guillett
SalesAid Software

"Monty" wrote in
message
news:F21C86D4-75BD-4FE8-B774-
...
Hi all,

At present i have to cells with dates input by
staff,
in the third cell
the
number of days are calculated. can i run a
formula to
bring up a message
box
to say issue prompt payment letter if the days
calculated are over 15.
thanks


.






.








  #11   Report Post  
Don Guillett
 
Posts: n/a
Default

try this formula in col D
=IF(DAYS360(B5,C5)=15,"Do Letter",DAYS360(B5,C5))
or
=IF(DAYS360(B5,C5)=15,"Do Letter","OK")



--
Don Guillett
SalesAid Software

"Don Guillett" wrote in message
...
What I gave you originally was an example of how a worksheet_change event
works.

You do NOT put in the ThisWorkbook or a regular module. It goes in the

SHEET
module as per my instruction of "right click sheet tabview

codecopy/paste"

The macro will fire AUTOMATICALLY when you enter something in the

referenced
cell. It is usually restricted to a column and below a row. In the example

I
sent, I restricted to cell L5, AS AN EXAMPLE.

Exactly what did you modify the macro to? Copy/paste here.

--
Don Guillett
SalesAid Software

"Monty" wrote in message
...
Still no joy with this nothing happens.
when i hit run in the microsoft visual basic it comes up with a macros
screen which is blank, so i have to cancel .
any ideas will be welcome
"Don Guillett" wrote:

Did you notice the first line and my statement about cell L5?
If Target.Address < "$L$5" Then Exit Sub
Now, put a numbe in l5 and watch what happens.
change to B1 if that is the ONLY cell you want to influence this
calculation.

--
Don Guillett
SalesAid Software

"Mark" wrote in message
...
Hi

I followed your instructions below and copied then pasted.

In Cell A1 i input 12/10/04

In Cell B1 i input 12/12/04

In Cell C1 i input the formula =DAYS360(A1,B1) which
returned the number 60. nothing else happened.

CAn you please help.
MArk




-Original Message-----
It does work!! What did you do?

--
Don Guillett
SalesAid Software

"Monty" wrote in
message
news:32A701B1-4193-4210-B623-
...
sorry tried this no luck!!

"Don Guillett" wrote:

right click worksheet tabview codecopy/paste
thismodify to suitSAVE
Now, put a numbe in l5 and watch what happens.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$L$5" Then Exit Sub
Target.Offset(1, 4) = Target * 3
End Sub
--
Don Guillett
SalesAid Software

"Mark" wrote
in message
...
How can you do this??

Thanks
-----Original Message-----
Yes, you could use a worksheet_change event
triggered by
input into the 2nd
cell.

--
Don Guillett
SalesAid Software

"Monty" wrote in
message
news:F21C86D4-75BD-4FE8-B774-
...
Hi all,

At present i have to cells with dates input by
staff,
in the third cell
the
number of days are calculated. can i run a
formula to
bring up a message
box
to say issue prompt payment letter if the days
calculated are over 15.
thanks


.






.








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message Brandt Excel Discussion (Misc queries) 2 January 19th 05 12:35 AM
Error message with embedded objects. Robban Setting up and Configuration of Excel 0 December 15th 04 10:05 AM
Error Message Appearing JaneC Excel Discussion (Misc queries) 1 December 6th 04 11:40 PM
Error Message appearing when saving a file JaneC Excel Discussion (Misc queries) 0 November 25th 04 10:35 PM
#num! error message Frank Kabel Excel Worksheet Functions 0 November 18th 04 07:07 PM


All times are GMT +1. The time now is 11:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"