I am opening an Excel spreadsheet using the GetObject function. In order to reference the cells, I need to make Excel and the spreadsheet visible. When I do this, Excel moves to the foreground and Access moves to the background. I've tried to use SetFocus and Visible, but neither brings Access back to the foreground. Does anyone know of a VBA command to move Access back to the foreground? Or do I have to use a Windows API to do it?
Cruising the Information Superhighway
(your mileage may vary)
![[shadeshappy] [shadeshappy] [shadeshappy]](/data/assets/smilies/shadeshappy.gif)
(your mileage may vary)