Hi Guys
I tried to solve this end if without block if Issue but i was unable to solve it so plz help me in solving the same Sir
Below is the code
Thnx for ur Great Help
Please Login or Register to view this content.
Hi Guys
I tried to solve this end if without block if Issue but i was unable to solve it so plz help me in solving the same Sir
Below is the code
Thnx for ur Great Help
Please Login or Register to view this content.
Last edited by Leonardo1234; 09-14-2022 at 02:26 AM.
The below part does not have a: Next bc6
Please Login or Register to view this content.
If things don't change they stay the same
Yes it has bc6
I am getting next without For Error Now Sir
That is what is causing the error, you have a for without a next...
You can't have a for without a next or a next without a for.
So what should i do with this that i dont know Sir, So plz really really help me in solving this Sir
Replace the removing rows part with the below:
Please Login or Register to view this content.
Now i am getting block if without end if Sir
Go through your code and make sure that every 'If' has an 'End If' and Every 'For' has a 'Next'
Np sir i will do this part
But i need one more help in solving Next without For error Sir plz
Sir plz help in solving here also Sir for Next without ForPlease Login or Register to view this content.
From the line of "Application.ScreenUpdating = False"
count down:
line 13 & 14 there are 2 "If" but one "End If"
line 25 & 26 there are 2 "If" but one "End If"
Next group of 2 If:
have only one "end if"PHP Code:
If wsh3.Range("C2").Value <> "" Or wsh3.Range("C2").Value = "" Then
If VBA.Asc(UCase(wsh3.Range("C2"))) < 64 And VBA.Asc(UCase(wsh3.Range("C2"))) > 91 Then
Quang PT
Sir Now i putted the end if & check all if conditions but i am gettingf error block if without end ifPlease Login or Register to view this content.
Was missing an End If on the last section, if you indent your code within the 'If' 'Else' as below it will be easier to spot as you go.
Please Login or Register to view this content.
Thnx Both of u in helping me in solving this problem
It has been solved
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks