03-22-2010, 03:23 PM
Gintaras Wrote:Maybe the window that win finds is not the window that normally is active. MS Office apps sometimes have this problem.
Activate Access manually and run this macro using hotkey. It displays 2 numbers in QM output pane. Are they equal?
Macro Macro1301
Gintaras,
Thank you for the reply...
No they are not
6685976
2163448
But when I change the code to
int w2 = win("2009 Q4 Data" "")
out w2
act win("2009 Q4 Data" "")
int activeWindow=win
out activeWindow
They are
6685976
6685976