Ahmad.Khattab
New Member
- Joined
- Mar 8, 2011
- Messages
- 10
Hi there,
How i can convert Hijra (Islamic) Dates into Gregorian?
a formula or VB
any help
How i can convert Hijra (Islamic) Dates into Gregorian?
a formula or VB
any help
Sorry, I don't know how to convert all cells at once without a macro. This worked for me:
Code:Sub Test() Dim Rng As Range Dim Cell As Range Set Rng = Range("A1").SpecialCells(xlCellTypeConstants, 2) For Each Cell In Rng.Cells If Cell.Value Like "##/##/####" Then SendKeys "{F2}{HOME}a{ENTER}" Cell.Select DoEvents End If Next Cell End Sub
Andrew can i ask you ?
1) why use ==> For Each Cell In Rng.Cells not ===> For Each Cell In Rng without .Cells
2) what is this command mean DoEvents
I'm sorry for my intervention