Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Thu, 2 Apr 2009 09:30:47 -0600, salgud wrote:
On Wed, 1 Apr 2009 21:14:01 -0700, Jacob Skaria wrote: D3 is already in the format ("mm-dd-yy") and that is the cause of error. Either you can change it to iServMonth = month(ws.Range("d3")) Not sure what I would change to this. OR (as you have mentioned in your code) iServMonth = Month(month(ws.Range("d3") & " 1,2009")) Already have this in there, but it's not working. The first one should be enough, right??? The first what should be enough? Sorry, am not clear what you're suggesting. I tried changing iServMonth = Month(month(ws.Range("d3") & " 1,2009")) to iServMonth = month(ws.Range("d3")) Still getting a type mismatch error |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need 7 digit number with differnt number of leading zeros | Excel Discussion (Misc queries) | |||
I want to add a plus sign behind a number and keep the leading zer | Excel Worksheet Functions | |||
number format with leading 0 | Excel Discussion (Misc queries) | |||
How to add leading 0 to four digit number? | Excel Worksheet Functions | |||
Number to text with leading zero | Excel Programming |