numbers contain hyphens to dates
Thank you very much for your time and input
--
bill gras
"Norman Jones" wrote:
Hi Bill,
To convert the spurious dates to fractional numbers, try::
Public Sub DatesToFractions()
Dim RCell As Range
For Each RCell In Selection '<<===== CHANGE
With RCell
If IsDate(.Value) Then
.Value = 0 & " " & Month(.Value) _
& "/" & Day(.Value)
End If
End With
Next
End Sub
---
Regards,
Norman
"bill gras" wrote in message
...
I have copied and pasted a file from a website into Excel 2000,in column
"B"
there was a entry like this:-
11/14 which means 11th place from 14 positions. Excel shows this entry as
Nov-14 (a date). I have tried
every thing that I could find , but can not bring it back to 11/14 (which
is
very important for my end result)
There are about 300 rows that I have to import every day.
Is there a worksheet function that you know of ?
Or is there a macro that would work?
Can you please help ?
hopeful Bill
--
bill gras
|