Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can anyone think of a way in which someone could enter a number
(representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What this should say is:
Can anyone think of a way in which someone could enter a number in a TextBox (representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? "Patrick C. Simonds" wrote in message ... Can anyone think of a way in which someone could enter a number (representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Something like this maybe...
Range("A1").Value = DateSerial(TextBox1.Value, 1, 1) Rick "Patrick C. Simonds" wrote in message ... What this should say is: Can anyone think of a way in which someone could enter a number in a TextBox (representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? "Patrick C. Simonds" wrote in message ... Can anyone think of a way in which someone could enter a number (representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes, thank you
"Rick Rothstein (MVP - VB)" wrote in message ... Something like this maybe... Range("A1").Value = DateSerial(TextBox1.Value, 1, 1) Rick "Patrick C. Simonds" wrote in message ... What this should say is: Can anyone think of a way in which someone could enter a number in a TextBox (representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? "Patrick C. Simonds" wrote in message ... Can anyone think of a way in which someone could enter a number (representing a year, say 2009) and then paste the results into cell A1 as January 1 of that year? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determine year over year date for comparison | Excel Worksheet Functions | |||
Converting a year date into a specific day date | Charts and Charting in Excel | |||
Excel cut/Paste Problem: Year changes after data is copy and paste | Excel Discussion (Misc queries) | |||
Year-to-date year to date formula | Excel Worksheet Functions | |||
Macro to Paste to specific line, and continue to Paste each time on next row not over | Excel Programming |