I have a database where the forms are Pop-up's
Much of the data is supplied by linked Excel spreadsheets.
The users are likely to need to re-establish the links to the spreadsheets so.....
I want the user to be able to press a button and the Linked Table Manager to appear.
I have a function as follows:
CODE
Public Function Links()
On Error GoTo Err_Links
SendKeys "%TDL"
Exit_Links:
Exit Function
Err_Links:
MsgBox "Action Cancelled", , "RAMSyS"
Resume Exit_Links
End Function
On Error GoTo Err_Links
SendKeys "%TDL"
Exit_Links:
Exit Function
Err_Links:
MsgBox "Action Cancelled", , "RAMSyS"
Resume Exit_Links
End Function
This is called by an autokeys macro when F1 is pressed (works OK when in design mode - but not when the forms are loaded)
I have tried having a button with SendKeys"%TDL" as the code - but nothing
Your help would be very much appreciated.
Cheers
John
I currently have this code attached to a button: