aspiringnerd
New Member
- Joined
- Apr 22, 2022
- Messages
- 39
- Office Version
- 365
- Platform
- Windows
some weird stuff is happening when I combine a bunch of macros together but work fine if I run them seperately. Rather than calling them the traditional way, is it possible to use an if statement to trigger another code automatically?
I've tried putting a delay in my code, but it doesnt work. I'm just trying to have a function execute once the first function completely executes.
VBA Code:
sub autotrigger()
if codeA = TRUE then
calls code B
else
endif
end sub
I've tried putting a delay in my code, but it doesnt work. I'm just trying to have a function execute once the first function completely executes.