Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default VBA: Make Excel the active application

Hi,

I'm having the following problem... Anyone can help me?

I have VBA code set in Excel that is triggered on Workbook_Open. The code
opens an instance of Word and opens a .doc file to get information from it
and enters this data in the Excel file in which the code resides. It does
that for all .doc files that resides in a specific path.

The problem is the following:
The Excel file is opened from a link in a Word file. Before executing the
full procedure from the Excel file, the code asks the user to confirm he
wants to proceed. This confirmation is not brought to the foreground. Rather,
an alert sound is heard and the user needs to activate Excel to see the
question. Word stays on screen as the active application.

How can I bring Excel to the foreground right after the link is followed in
the Word file?

Thanks for your help!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel press enter to make active on 1st colum in new row Greg New Users to Excel 2 March 18th 07 05:21 PM
How do I make the border of an active cell in Excel darker? luv2sing Excel Discussion (Misc queries) 1 July 22nd 06 04:36 PM
Can I make a Excel Active Desktop Worksheet on XP? Garett Excel Discussion (Misc queries) 1 July 10th 06 05:44 PM
How to make only the cells i need active debs1389 Excel Worksheet Functions 3 May 13th 06 07:49 PM
Can I make an order form on an office application? Michelle Excel Discussion (Misc queries) 2 August 24th 05 12:14 AM


All times are GMT +1. The time now is 05:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"