Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Calendar year change.

Hi

I have a calendar with everyday from "Sunday 1 Jan 2006" To "Sunday 31
Dec 2006". I need to make a macro that when it is run it will change
the year from 2006 To 2007.

Another thing is that I want saturday and sunday to be marked(say
green) But when the year changes the dates are push forward so now it
is sunday and monday that is marked. How to make it auto mark saturnday
and sunday again?

It would be nice to have it all in one macro

thanks

San

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Calendar year change.

Take a look at http://xldynamic.com/source/xld.CF.html#calendar

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"San" wrote in message
ups.com...
Hi

I have a calendar with everyday from "Sunday 1 Jan 2006" To "Sunday 31
Dec 2006". I need to make a macro that when it is run it will change
the year from 2006 To 2007.

Another thing is that I want saturday and sunday to be marked(say
green) But when the year changes the dates are push forward so now it
is sunday and monday that is marked. How to make it auto mark saturnday
and sunday again?

It would be nice to have it all in one macro

thanks

San



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Calendar year change.

I can't seem to make the codes from the site to work! it just say wrong
formula even though I just copy paste.
I have my date format as (dddd-dd-mm) from A9:A39 and A44-A71 and so
on. Between A39 and A44 is just where I sum up some data.

pls help




Bob Phillips skrev:
Take a look at http://xldynamic.com/source/xld.CF.html#calendar

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"San" wrote in message
ups.com...
Hi

I have a calendar with everyday from "Sunday 1 Jan 2006" To "Sunday 31
Dec 2006". I need to make a macro that when it is run it will change
the year from 2006 To 2007.

Another thing is that I want saturday and sunday to be marked(say
green) But when the year changes the dates are push forward so now it
is sunday and monday that is marked. How to make it auto mark saturnday
and sunday again?

It would be nice to have it all in one macro

thanks

San


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Calendar year change.

I need more info than that to work on as I know that the example does work.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"San" wrote in message
ups.com...
I can't seem to make the codes from the site to work! it just say wrong
formula even though I just copy paste.
I have my date format as (dddd-dd-mm) from A9:A39 and A44-A71 and so
on. Between A39 and A44 is just where I sum up some data.

pls help




Bob Phillips skrev:
Take a look at http://xldynamic.com/source/xld.CF.html#calendar

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"San" wrote in message
ups.com...
Hi

I have a calendar with everyday from "Sunday 1 Jan 2006" To "Sunday 31
Dec 2006". I need to make a macro that when it is run it will change
the year from 2006 To 2007.

Another thing is that I want saturday and sunday to be marked(say
green) But when the year changes the dates are push forward so now it
is sunday and monday that is marked. How to make it auto mark

saturnday
and sunday again?

It would be nice to have it all in one macro

thanks

San




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
calendar year versus fiscal year mePenny Excel Discussion (Misc queries) 4 November 17th 09 06:05 PM
Help dealing with a fiscal year rather than a calendar year Tyler Excel Worksheet Functions 3 August 25th 07 11:26 AM
change the calendar to reflect the current year pippinkitty Excel Worksheet Functions 1 October 29th 06 09:34 PM
change the calendar to reflect the current year pippinkitty Excel Worksheet Functions 0 October 29th 06 09:27 PM
change the year in a calendar template to different year George Excel Discussion (Misc queries) 1 July 19th 06 07:34 PM


All times are GMT +1. The time now is 03:12 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"