Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Ron is offline
external usenet poster
 
Posts: 250
Default Entering calendar automatically

Is there a function or macro to update calendar in a way tha it runs through
the whole row automatially upon a click of a button, I need the different
months to appear on different worksheets. Dragging through the cells every
end of the month is too time-consuming.

e.g. 1st row 28 oct 07 29 oct 07 30 oct 07
2nd row Sunday Monday Tuesday

Will the calendar control object in Excel help in that?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Entering calendar automatically

Hi Ron,

If you insert a date in Sheet1 cell A1 (say 1 Jan 2007) then in B1 you
insert the formula =A1+1 and the copy that formula across then each time you
update A1 the the rest automatically update across the worksheet.

In cell B2 (below the dates) enter =A1 and copy it across to the end of the
dates in row 1 and then format the row to "ddd". While it is actually a date,
it will only display the day of the week and it will all update when you
change cell A1.

You say that you have different months on different worksheets. If you have
entered the date as above in cell A1 of Sheet1 (That is 1 Jan 2007) then in
cell A1 of Sheet2 enter the following formula:-

=EDATE(Sheet1!A1,1)

The formula returns the date 1 month after the date in Sheet1!A1 which will
be 1 Feb 2007. Do as for Sheet 1 and enter in B2 =A1+1 and copy across and
repeat row 2 as for Sheet 1. Do this throughout the workbook and then all you
have to do is change the date in cell A1 of Sheet1 and all the dates change
with it.

Regards,

OssieMac




"ron" wrote:

Is there a function or macro to update calendar in a way tha it runs through
the whole row automatially upon a click of a button, I need the different
months to appear on different worksheets. Dragging through the cells every
end of the month is too time-consuming.

e.g. 1st row 28 oct 07 29 oct 07 30 oct 07
2nd row Sunday Monday Tuesday

Will the calendar control object in Excel help in that?

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Entering calendar automatically

Hi again,

Formatting date to "ddd" returns the abbreviation Mon Tue etc.

Foramtting as "dddd" returns the days as Monday Tuesday etc.

Regards,

OssieMac

"ron" wrote:

Is there a function or macro to update calendar in a way tha it runs through
the whole row automatially upon a click of a button, I need the different
months to appear on different worksheets. Dragging through the cells every
end of the month is too time-consuming.

e.g. 1st row 28 oct 07 29 oct 07 30 oct 07
2nd row Sunday Monday Tuesday

Will the calendar control object in Excel help in that?

Thanks in advance

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
Automatically entering date Keith Excel Discussion (Misc queries) 7 November 2nd 06 11:44 PM
Automatically entering date David F Cox Excel Discussion (Misc queries) 0 October 11th 06 09:52 PM
Automatically entering time and date to an entry Ashlee Excel Discussion (Misc queries) 2 October 4th 06 12:49 AM
Automatically apply a fill when entering text Janet Excel Discussion (Misc queries) 4 February 17th 06 10:33 PM
How does a cell automatically highlight itself after entering numb Janet Excel Discussion (Misc queries) 2 February 16th 06 04:02 AM


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

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

About Us

"It's about Microsoft Excel"