SanjayGMusafir
Well-known Member
- Joined
- Sep 7, 2018
- Messages
- 1,513
- Office Version
- 2024
- Platform
- Windows
Dear Experts
I wrote a VBA copy bits from here and there. It worked fine, the day I created, But now it's giving continuous error. It stops at the Red highlighted point and gives error. Can you help me find the error and improve. Thanks a lot ?
I wrote a VBA copy bits from here and there. It worked fine, the day I created, But now it's giving continuous error. It stops at the Red highlighted point and gives error. Can you help me find the error and improve. Thanks a lot ?
Rich (BB code):
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
If Target.Name = "Astro - Dosha/Yoga" Then
Call YogaSort
Else
If Target.Name = "Astro - Remedies/Gems" Then
Call RemediesSort
Else
If Target.Name = "Astro - Prashna" Then
Call PrashnaSort
Else
If Target.Name = "Astro - Events" Then
Call EventsSort
Else
If Target.Name = "Astro - Muhurata" Then
Call MuhurataSort
Else
If Target.Name = "Info - Spriha Sanjay" Then
Call SprEventsSort
Else
If Target.Name = "Astro - Mundane" Then
Call MundaneSort
Else
If Target.Name = "Astro - Games" Then
Call GamesSort
Else
Do Nothing
End If
End Sub