I am using Excel 2003.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o>
On a worksheet I have a column of dates (eg. 1/8/2007) that may be in Text, Date or General format, I don’t know how they will be imported each time. Using VBA, I want to make sure that each date is either the first day of the month or the last day. The month is not important. The year needs to fall within a user defined range. Any suggestions on how to do this would be appreciated as I can’t be sure what format the dates will be in and if you try to convert them all to Text or to Date format before applying a formula you get some strange results … days and months get switched or the date is converted into a number.
<o> </o>
Thanks in advance
<?xml:namespace prefix = st1 ns = "urn:schemas:contacts" /><st1:GivenName w:st="on">Michael</st1:GivenName>
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o>
On a worksheet I have a column of dates (eg. 1/8/2007) that may be in Text, Date or General format, I don’t know how they will be imported each time. Using VBA, I want to make sure that each date is either the first day of the month or the last day. The month is not important. The year needs to fall within a user defined range. Any suggestions on how to do this would be appreciated as I can’t be sure what format the dates will be in and if you try to convert them all to Text or to Date format before applying a formula you get some strange results … days and months get switched or the date is converted into a number.
<o> </o>
Thanks in advance
<?xml:namespace prefix = st1 ns = "urn:schemas:contacts" /><st1:GivenName w:st="on">Michael</st1:GivenName>