Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
msaccess
#1
How do I get quick macros to select the macros button in microsoft access.

here is a working macro but when the database web.mdb is opened and closed not with the macro tab selected this macro does not work.
I need to fix it so the macro tab gets pressed regardless of the condition of the database web.mdb

run "D:\WINCAGE\Wincage.exe" "" "" "" 0x800 "User Sign-In Screen"
key admin
key T
key alexvision
key Ak
1
key Ac
AccSelect(SELFLAG_TAKEFOCUS|SELFLAG_TAKESELECTION "Output to web" "LISTITEM" "Microsoft Access" "SysListView32" "" 0x1001)
key Ar
1
key Ay
key Af
1
key x
key Af
key x
key Ay
run "D:\Program Files\Microsoft Office\Office\MSACCESS.EXE"
8
key Y
key "D:\Main Web Site\db\web.mdb"
key Y
key Ao
key Aea
key Aer
key Ay
key Afc
3
Acc a=acc("Macros" "PUSHBUTTON" "Microsoft Access" "ToolbarWindow32" "" 0x1001)
a.Mouse(1)
key Ar
3
key Afx


Forum Jump:


Users browsing this thread: 2 Guest(s)