Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Launch IE with Table

i want to add a macro to launch IE window from Excel. I want the IE window to
contain a table which is populated from data to be taken from the excel
sheet. Suppose currently the data what i want to populate in the IE window is
contained in an excel array FinalResult (10,5)

i got the code to launch the IE window. code below launches a blank IE
window. how do i populate this IE window with the data contained in array
FinalResult (10, 5). I want the data to appear in a table format with
borders. Please help.

Sub LaunchIE()

Set ie = CreateObject("InternetExplorer.Application")
ie.AddressBar = False
ie.MenuBar = False
ie.Toolbar = False
ie.Width = 610
ie.Height = 700
ie.Left = 0
ie.Top = 0
ie.resizable = True
ie.Visible = True

End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Launch IE with Table

I would recommend opening a word application and design you webpage in word.
Then save the word document as HTML. Next open the html document in a IE
explorer application. The web browser is not intended to as a tool to create
web pages, it is only a viewer.

"Pradip Jain" wrote:

i want to add a macro to launch IE window from Excel. I want the IE window to
contain a table which is populated from data to be taken from the excel
sheet. Suppose currently the data what i want to populate in the IE window is
contained in an excel array FinalResult (10,5)

i got the code to launch the IE window. code below launches a blank IE
window. how do i populate this IE window with the data contained in array
FinalResult (10, 5). I want the data to appear in a table format with
borders. Please help.

Sub LaunchIE()

Set ie = CreateObject("InternetExplorer.Application")
ie.AddressBar = False
ie.MenuBar = False
ie.Toolbar = False
ie.Width = 610
ie.Height = 700
ie.Left = 0
ie.Top = 0
ie.resizable = True
ie.Visible = True

End Sub

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Launch IE with Table

What do you know about HTML ?

IE.navigate "about:blank"
Do While IE.busy
Loop
IE.document.Open "text/html"
IE.document.write "<html<bodyYour table goes here</body</html"
IE.document.Close

Tim


"Pradip Jain" wrote in message
...
i want to add a macro to launch IE window from Excel. I want the IE window
to
contain a table which is populated from data to be taken from the excel
sheet. Suppose currently the data what i want to populate in the IE window
is
contained in an excel array FinalResult (10,5)

i got the code to launch the IE window. code below launches a blank IE
window. how do i populate this IE window with the data contained in array
FinalResult (10, 5). I want the data to appear in a table format with
borders. Please help.

Sub LaunchIE()

Set ie = CreateObject("InternetExplorer.Application")
ie.AddressBar = False
ie.MenuBar = False
ie.Toolbar = False
ie.Width = 610
ie.Height = 700
ie.Left = 0
ie.Top = 0
ie.resizable = True
ie.Visible = True

End Sub



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
Launch pivot table using Macro Tyrone Lopez Excel Programming 1 October 20th 05 03:15 AM
Pivot table to launch Macro Darin Kramer Excel Programming 2 August 25th 05 06:41 PM
Pivot table to launch Macro Darin Kramer Excel Programming 3 August 24th 05 03:55 PM
How to launch one XLA from another on Excel launch levka Excel Programming 1 July 25th 05 04:22 AM
Macro launch - Button vs Manual launch , has different results. Wayne Excel Programming 4 February 23rd 05 11:33 AM


All times are GMT +1. The time now is 07:32 AM.

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"