I have sub procedures A1, A2, and A3 and I am looking to run them based on
criteria of a script for commandbutton1()_click.
i.e.
Dim x as range, y as range, z as range
If x.value > 0 then
open sub procedure A1
else
if y.value > 0 then
open sub procedure A2
else
open sub procedure A3
end if
end if
I'm not sure how to open these subs up and how/where to declare them. Any
assistance would be greatly appreciated.
Bookmarks