Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default date upon open

i have a simple spreadsheet that i open about once a week that i enter data
in one line at a time. i want the date to be entered at the bottom of column
h in the first row after the last entry from the previous weeks entry.

3 march 12 2004
21 march 19
xxxxxx <- puts here when it opens

i know its somehthing like..

Private Sub Workbook_Open()

range(h'somethine')=Format(Now(), "mmmm d, yyyy")

end sub
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default date upon open

Try:
Private Sub Workbook_Open()

Range(h & Range("H1".Currentregion.rows.count + 1) = Date

End Sub

Aslong as the list starts in cell H1 and column H is formated as a date - it
should appear correctly

"Lawson" wrote:

i have a simple spreadsheet that i open about once a week that i enter data
in one line at a time. i want the date to be entered at the bottom of column
h in the first row after the last entry from the previous weeks entry.

3 march 12 2004
21 march 19
xxxxxx <- puts here when it opens

i know its somehthing like..

Private Sub Workbook_Open()

range(h'somethine')=Format(Now(), "mmmm d, yyyy")

end sub

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default date upon open

Sorry missed a bracket

Private Sub Workbook_Open()

Range(h & Range("H1".Currentregion.rows.count + 1)) = Date

End Sub


"CPBro" wrote:

Try:
Private Sub Workbook_Open()

Range(h & Range("H1".Currentregion.rows.count + 1) = Date

End Sub

Aslong as the list starts in cell H1 and column H is formated as a date - it
should appear correctly

"Lawson" wrote:

i have a simple spreadsheet that i open about once a week that i enter data
in one line at a time. i want the date to be entered at the bottom of column
h in the first row after the last entry from the previous weeks entry.

3 march 12 2004
21 march 19
xxxxxx <- puts here when it opens

i know its somehthing like..

Private Sub Workbook_Open()

range(h'somethine')=Format(Now(), "mmmm d, yyyy")

end sub

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
Counting Closed Date < 2 weeks of Open Date etc gcw Excel Worksheet Functions 0 October 23rd 09 11:47 AM
Date open file with date saved Rita Excel Worksheet Functions 3 April 23rd 09 03:13 PM
Always open a certain worksheet if date is past? wx4usa Excel Discussion (Misc queries) 1 July 24th 07 04:02 PM
How do get I my schedule to open at the current date? Maurice Excel Worksheet Functions 1 September 6th 06 05:38 PM
When I open my past invoice it keeps changing date to todays date Stop date changing to todays in Excel Excel Worksheet Functions 2 October 7th 05 04:54 PM


All times are GMT +1. The time now is 08:51 AM.

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"