I think this is pretty basic stuff, but that's probably why I can't work it out...
Can you have a string and execute that as if it was a line of code, e.g.
CodeStr = "Forms![Form1]![Control1].setfocus"
and then a command or something along the lines of
RunCode(CodeStr)
I'm on blue sky thinking mode here, and I realise it's probably bad coding, but putting together a string and then executing it would help me a lot.
Anybody got any suggestions?
Can you have a string and execute that as if it was a line of code, e.g.
CodeStr = "Forms![Form1]![Control1].setfocus"
and then a command or something along the lines of
RunCode(CodeStr)
I'm on blue sky thinking mode here, and I realise it's probably bad coding, but putting together a string and then executing it would help me a lot.
Anybody got any suggestions?