PC Review


Reply
 
 
RJ Swain
Guest
Posts: n/a
 
      26th Jun 2009

Hello,

I am working on a spreadsheet that in cells B3:B43 I have a list that the
user can select a planet from the list. When they select a planet I would
like the worksheet to auto fill in the current date in cell O3. And when
cells B3:B43 are blank cell O3 will be blank as well.
 
Reply With Quote
 
 
 
 
Eduardo
Guest
Posts: n/a
 
      26th Jun 2009

Hi,
try

=IF(COUNTA(B3:B43)>0,TODAY(),"")

if this helps please click yes, thanks

"RJ Swain" wrote:

> Hello,
>
> I am working on a spreadsheet that in cells B3:B43 I have a list that the
> user can select a planet from the list. When they select a planet I would
> like the worksheet to auto fill in the current date in cell O3. And when
> cells B3:B43 are blank cell O3 will be blank as well.

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      26th Jun 2009

If the date is to be always in O3 try the below. or if it is in Col O then
change Range("O3") = to Range("O" & Target.Row)=

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Not Application.Intersect(Target, Range("B3:B43")) Is Nothing Then
If WorksheetFunction.Count(Range("B3:B43")) <> 0 Then
Range("O3") = Date
Else
Range("O3") = ""
End If
End If
Application.EnableEvents = True
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"RJ Swain" wrote:

> Hello,
>
> I am working on a spreadsheet that in cells B3:B43 I have a list that the
> user can select a planet from the list. When they select a planet I would
> like the worksheet to auto fill in the current date in cell O3. And when
> cells B3:B43 are blank cell O3 will be blank as well.

 
Reply With Quote
 
RJ Swain
Guest
Posts: n/a
 
      26th Jun 2009

Now a little twist to this. How can I have it auto update the date when
someone opens the excel spreadsheet? Right now, it puts in the date when the
data is entered but is it possible to have it auto update the date when the
user opens it up the following day?

"Eduardo" wrote:

> Hi,
> try
>
> =IF(COUNTA(B3:B43)>0,TODAY(),"")
>
> if this helps please click yes, thanks
>
> "RJ Swain" wrote:
>
> > Hello,
> >
> > I am working on a spreadsheet that in cells B3:B43 I have a list that the
> > user can select a planet from the list. When they select a planet I would
> > like the worksheet to auto fill in the current date in cell O3. And when
> > cells B3:B43 are blank cell O3 will be blank as well.

 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      26th Jun 2009

Hi,

If you have a look tomorrow you'll see the formula Eduardo gave you will
have updated to tomorrows date.

Mike

"RJ Swain" wrote:

> Now a little twist to this. How can I have it auto update the date when
> someone opens the excel spreadsheet? Right now, it puts in the date when the
> data is entered but is it possible to have it auto update the date when the
> user opens it up the following day?
>
> "Eduardo" wrote:
>
> > Hi,
> > try
> >
> > =IF(COUNTA(B3:B43)>0,TODAY(),"")
> >
> > if this helps please click yes, thanks
> >
> > "RJ Swain" wrote:
> >
> > > Hello,
> > >
> > > I am working on a spreadsheet that in cells B3:B43 I have a list that the
> > > user can select a planet from the list. When they select a planet I would
> > > like the worksheet to auto fill in the current date in cell O3. And when
> > > cells B3:B43 are blank cell O3 will be blank as well.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto initials & auto date not working properly GD Microsoft Access Getting Started 7 24th Feb 2009 02:33 PM
How do I set a cell to auto populate the date to show the current week's Friday date? SaipanRick Microsoft Excel Discussion 4 10th Feb 2008 08:01 PM
Auto Protecting cells & auto filling date ccarmock Microsoft Excel Misc 7 30th Sep 2005 09:21 PM
Excel: auto-calculate a date 2 weeks after an initial date =?Utf-8?B?c2ZmYW4yMDA0?= Microsoft Excel Worksheet Functions 0 22nd Sep 2004 09:05 PM
Excel Date - Auto enter file creation date (free chocolate for help) arielax Microsoft Excel Misc 6 29th Apr 2004 02:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 PM.