Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
Year question
I am having problems working out a simple little sum. I have a userform
when I have a new member join I want it to add the current year. How can I get excel to do this the easy way. I currently have it paste the now() value and have set the cell to show yyyy but unfortuantely when I go to the next cell where I want to have the worksheet work out the years member section it comes up as volitile. Any Ideas Thanks Greg |
#2
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
Year question
Hi Greg,
With Range("A1") .NumberFormat = "General" .Value = Year(Date) End With Change A1 to the cell of interest. --- Regards, Norman "Greg B" wrote in message ... I am having problems working out a simple little sum. I have a userform when I have a new member join I want it to add the current year. How can I get excel to do this the easy way. I currently have it paste the now() value and have set the cell to show yyyy but unfortuantely when I go to the next cell where I want to have the worksheet work out the years member section it comes up as volitile. Any Ideas Thanks Greg |
#3
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
Year question
Thanks Norman work great
Greg "Norman Jones" wrote in message ... Hi Greg, With Range("A1") .NumberFormat = "General" .Value = Year(Date) End With Change A1 to the cell of interest. --- Regards, Norman "Greg B" wrote in message ... I am having problems working out a simple little sum. I have a userform when I have a new member join I want it to add the current year. How can I get excel to do this the easy way. I currently have it paste the now() value and have set the cell to show yyyy but unfortuantely when I go to the next cell where I want to have the worksheet work out the years member section it comes up as volitile. Any Ideas Thanks Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Month & year question | Excel Discussion (Misc queries) | |||
WEEKDAY question on year | Excel Discussion (Misc queries) | |||
Year question | Excel Discussion (Misc queries) | |||
Year and Month Question? | Excel Programming | |||
Year and Month Question? | Excel Programming |