Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default how to close active ie browser using a macro

Hi all,

new to the group.

I'm having a bit of trouble trying to close an IE browser. I've
created a form that, once a button is pushed, copies delimited data
from a url address and pastes it into my active worksheet. Everything
works perfectly, but I can't seem to kill the browser that was opened
to retrieve the data.

Is there a simple solution that will close the active IE browser ?

Thanks,

James

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to close active ie browser using a macro


Hello James,

You didn't say if you open the browser maunually (click on it) or
through VBA in Excel. In either case, you will need to a couple of API
calls to accomplish the task.

It would help to know how the browser was opened as this will affect
the API calls needed to accomplish the job. Repost your answer and I
will give you the API code to paste into a VBA module. As far as I
know, the simplest method of closing the browser is to click on close.

Sinecerly,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=476064

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default how to close active ie browser using a macro

Hi Leith,

I've opened the browser through a macro using follow hyperlink. My
macro then copies the delimited data from the web and pastes it into my
worksheet. Thanks for the response !!!!!

James

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 shoud not close all active books when clicking close button technomike Excel Discussion (Misc queries) 0 June 10th 05 05:35 PM
excel - Windows close button (x) should only close active workboo. CoffeeAdict Setting up and Configuration of Excel 3 February 8th 05 04:30 AM
Close an Internet Explorer browser window [email protected] Excel Programming 1 July 5th 04 06:25 PM
Close Browser window with VBA brianelson Excel Programming 1 July 12th 03 05:35 AM


All times are GMT +1. The time now is 04:04 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"