# FXRuby & Excel windows

**URL:** <https://www.ruby-forum.com/t/fxruby-excel-windows/180311>\
**Category:** FXRuby\
**Created:** [December 17, 2009, 6:43am UTC](https://www.ruby-forum.com/t/fxruby-excel-windows/180311 "2009-12-17T06:43:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drlelon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ee59a6/32.png) [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Post date:** [December 17, 2009, 6:43am UTC](https://www.ruby-forum.com/t/fxruby-excel-windows/180311/1 "2009-12-17T06:43:12Z")

</div>

I have a ruby app on Windows, with an FXRuby UI that opens up Excel  
using Win32OLE. The Excel window obscures the UI at one point. How  
can I programmatically send the Excel window to the back and/or bring  
the FXRuby UI to the front. I know I can just not display the the  
Excel window at all, but I’d like to leave it open, just behind the  
UI, as if the user clicked on the ruby app’s tray icon (which they can  
always do manually, if necessary).

Thanks. --David.

PS: Excuse the (manual) cross-posting – forgot about this forum.
