Greetings,
I'm trying to avoid my LOOP which loops every 7 seconds for 5 days 24/7. Some weeks no worries. Other weeks nightmares.
What I'm trying to do is quite straight forward but I have no idea other than calling each sub on a continuous loop.
What I'd love is this instead of Looping over and over I've been told to FIND the value instead of loop.
Honestly I have NO idea how FIND works so an answer with an explanation would be greatly appreciated! As I always thought loops had to be used to find constant values which move/get changed rows moved/deleted etc.
I'm trying to avoid my LOOP which loops every 7 seconds for 5 days 24/7. Some weeks no worries. Other weeks nightmares.
What I'm trying to do is quite straight forward but I have no idea other than calling each sub on a continuous loop.
What I'd love is this instead of Looping over and over I've been told to FIND the value instead of loop.
Honestly I have NO idea how FIND works so an answer with an explanation would be greatly appreciated! As I always thought loops had to be used to find constant values which move/get changed rows moved/deleted etc.
Code:
SUB stoplooping()
IF Range("K3").value is "1" THEN
'DOXYZ (huge code here)
end if
Call nextloop
end sub
sub nextloop()
If range("C3").value is "1" THEN
'DOXYZ (huge code here)
end if
'''call nextloop2 etc etc etc.
end sub