Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() what is the value in M2 when you get the error? rgard -- tony ----------------------------------------------------------------------- tony h's Profile: http://www.excelforum.com/member.php...fo&userid=2107 View this thread: http://www.excelforum.com/showthread.php?threadid=52783 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
M2 is the year, currently 2007, and the code on sheet 1 will run when
this is changed. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think I should also note that on every subsequent sheet, M2 = P3
which is =DATE(Jan!M2,1+1,1)+TIME(20,0,0) and the month is edited appropriately for each sheet. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On the first sheet, M2 is the year, currently 2007. On every
subsequent sheet, M2 = P3 (format "yyyy") which is =DATE(Jan!M2,1+1,1)+TIME(20,0,0) and the month is edited appropriately for each sheet. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I found that I get the overflow error because of the M2 = P3. When I
changed this and manually put in the date it works fine. Is there a way to get around this? |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I figured it out. I put in the first line of the code as range("m2") =
sheets(1).range("M2") and this solved the formula problem. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Overflow error.. why? | Excel Discussion (Misc queries) | |||
Error Code 6: Overflow | Excel Programming | |||
Overflow Error | Excel Programming | |||
Help! Overflow Error 6 | Excel Programming | |||
overflow error | Excel Programming |