Open multiple websites in one window

I would like to open multiple websites in one window with multiple tabs using VBA in Excel.  My present code opens each website in a separate window.
Sub Weather()
' Look at weather websites
    Dim URL As String
    Dim ie As Object
    URL = "http://cleardarksky.com/c/AnaheimCAkey.html?1"
    Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = True
    ie.navigate URL
    Set ie = Nothing
    URL = "http://www.goes.noaa.gov/GSSLOOPS/wcir.html"
    Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = True
    ie.navigate URL
    Set ie = Nothing
    URL = "http://www.weather.com/weather/hourbyhour/l/92886:4:US"
    Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = True
    ie.navigate URL
    Set ie = Nothing
    URL = "http://www.wunderground.com/cgi-bin/findweather/getForecast?query=92886"
    Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = True
    ie.navigate URL
    Set ie = Nothing
End Sub

Hi,
It depends on your popup blocker (built-in or Addon toolbar), tabbed browser settings and IE security settings.
See general tab of Internet Options, Tabs button.
you can specify a target parameter in the navigate method to reuse the one IE window and open each site in a new tab (depending on your settings above).
window.navigate method
Regards.
Rob^_^

Similar Messages

  • Open Multiple JFrame in one window

    hi all.......
    I've developed one Java-Swing application with Menubar. If i click each menu item Im opening new JFrame. But i want to open this each JFrame in a parent JFrame. For example If i Click File->Open it will open new JFrame as separate, if i again click File->New , it will open another new JFrame for new. likewise it will open each JFrame for each menu item. But I want to open it in a parent window itself. My problem is same like MDI in VB.
    Kindly help me to proceed.........
    thankx.........
    kalai.

    I think you have to use JInternalFrame
    First declare
    JDesktopPane() desktopPane=new JDesktopPane();
    mainFrame.getContentPane().add("Center",desktopPane);
    mainFrame.setVisible(true);
    Simple way is to use Container
    if mnuNew is clicked
    JFrame templateFrame=new JFrame();
    Container container= templateFrame.getContentPane();
    the above frame is object of your <template> frame
    it will add everything in to Container including controls with actListeners
    Now call
    public void createInternalFrame(String title)
         try
         JInternalFrame iFrame=new JInternalFrame();
         iFrame.getContentPane().add(container);
    desktopPane.add(iFrame);
         iFrame.addNotify();
    iFrame.setMaximum(true);
         iFrame.setVisible(true);
    iFrame.setClosable(true);
         iFrame.setTitle(title);
    iFrame.setDefaultCloseOperation(iFrame.DISPOSE_ON_CLOSE);
         }//Try
         catch(Exception E)
    System.out.println("Error "+E);
    }//CreateInternalFrame

  • How do I open multiple tabs in one window

    I am using Firefox version 5. At the top of the page where the tabs are there is not an icon to click on to that opens a new tab in the current window. There is a + symbol to the left of the tab but when I click on it a new window opens. Previously the + icon was to the right of the tab and when I clicked on it a new tab appeared but in the same window. Now I can only have multiple windows open......HELP!

    Thank you, Barbara.  I found that I had to close the program after I turned on "allow floating documents" and restart, before I was able to go to "float all in windows". 

  • Ability to view multiple files in ONE window

    I can see here that this is not a new topic really but the thing with Acrobat 9 is so frustrating that it is just unbelievable.
    This is another pearl:
    Acrobat 9 "lost" its predecessors ability to view multiple files in ONE window. After opening four only documents I cannot see anything on the screen because the toolbars on each individual window cover all necessary view and nothing is left for the actual document. And sometimes I need to open 20 documents!
    This is ABSOLUTE DISASTER!!!
    I found some explanations from Adobe on the Web that are more than a year old.
    I was sure that by now this unfortunate mishandling of that feature (apparently it was dropped out from A9 deliberately - WHO'S IDEA WAS THAT?) would be somehow restorable.
    Would anyone happen to know if this feature can get restored to how it was working in A7 or 8 (without the need to uninstall A9 and install A8)?

    No, it can't be restored, unless Adobe decides to change the way Acrobat works (which is possible, but not likely).
    By the way, it was Microsoft's idea... Adobe were just following their example on this.
    You can make a feature request here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • AP Divs (layers) move when I open my website on different window size.

    First of all, this is my first time trying to make a website.
    I'm doing an assignment for my class and i found it difficult for me to fix. I have spend 4-5 hours researching online but nothing work for me.
    Well,the problem is the AP Divs (layers) move when I open my website on different window size(iphone,ipad).
    The website only look right on 1366 x 786 resolution. Please take a look at my 2 pics below:
    And I don't know how to make the website to fit on the iphone and ipad so that I don't have to scroll down or sroll to the right to view the whole thing.
    Please someone help me!
    The code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width" />
    <title>Boston Green Community College</title>
    <style type="text/css">
    <!--
    body {
        background-color: #3f7244;
        padding: 0;
        color: #8d0101;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 100%;
        line-height: 1.4;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
        padding: 0;
        margin: 0;
    h1, h2, h3, h4, h5, h6, p {
        margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
        border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
        color: #003702;
        text-decoration: NONE; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
        color: #028b66;
        text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
        text-decoration: none;
    /* ~~ this fixed width container surrounds the other divs ~~ */
    .container {
        width: 960px;
        background-color: #FFF;
        margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
        background-color: #ADB96E;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
        padding: 0px 0;
    /* ~~ The footer ~~ */
    .footer {
        padding: 10px 0;
        background-color: #CCC49F;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #apDiv1 {
        position: absolute;
        width: 251px;
        height: 101px;
        z-index: 1;
        left: 871px;
        top: 10px;
    #apDiv2 {
        position: absolute;
        width: 228px;
        height: 60px;
        z-index: 2;
        left: 9px;
        top: 1397px;
    #apDiv3 {
        position: absolute;
        width: 273px;
        height: 198px;
        z-index: 2;
        left: 851px;
        top: 383px;
    #apDiv4 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 3;
        left: 242px;
        top: 120px;
    #apDiv5 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 902px;
        top: 178px;
    #apDiv6 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 857px;
        top: 171px;
    #apDiv7 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 455px;
        top: 547px;
    #apDiv8 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 853px;
        top: 113px;
    #apDiv9 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 5;
        left: 853px;
        top: 246px;
    #apDiv10 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 6;
        left: 513px;
        top: 121px;
    #apDiv11 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 6;
        left: 511px;
        top: 123px;
    -->
    </style></head>
    <body>
    <div class="container">
      <div class="header"><a href="#"><img src="Pictures/34d-1.png" alt="Insert Logo Here" name="Insert_logo" width="619" height="90" id="Insert_logo" style="background-color: #C6D580; display:block;" />
        <div id="apDiv11"><font color="#f4f1f1">
    <script type="text/javascript">
    var d=new Date()
    var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
    var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
    document.write(weekday[d.getDay()] + " ")
    document.write(d.getDate() + ". ")
    document.write(monthname[d.getMonth()] + " ")
    document.write(d.getFullYear())
    </script></font>
    </div>
        <div id="apDiv1">
      <!-- Use of this code assumes agreement with the Google Custom Search Terms of Service. -->
      <!-- The terms of service are available at http://www.google.com/cse/docs/tos.html -->
      <form name="cse" id="searchbox_demo" action="http://www.google.com/cse">
      <input type="hidden" name="cref" value="" />
      <input type="hidden" name="ie" value="utf-8" />
      <input type="hidden" name="hl" value="" />
      <input name="q" type="text" size="40" />
      <input type="submit" name="sa" value="Search" />
    </form>
    <script type="text/javascript" src="http://www.google.com/cse/tools/onthefly?form=searchbox_demo&lang="></script>
                                  </div>
                                    </div>
      <div class="content">
        <center><img src="Pictures/DFDF11.png" width="959" height="556" longdesc="Pictures/junior-2-960x.jpg" /></h1></center>
      <!-- end .content --></div>
      <div class="footer">
         <img src="Pictures/RRR1.png" width="202" height="70" />
         <div id="apDiv3">
           <p> </p>
           <p><a href="Job.html">Jobs</a>         </p>
           <p><a href="Art Gallery.html">Art Gallery</a>         </p>
           <p><a href="Contact us.html">Contact Us </a></p>
        </div>
        <div id="apDiv4"><center>
    <P>About</P>
    <a href="visiting.html">visiting</a> | <a href="Map.html">maps </a>| <P><a href="About.html">about BGCC</a></P>
    <P>Academic</P>
    <P><a href="Courses.html">schools+courses</a></P>
    <P>Admissions  </P>
    <P><a href="cost & aid basics.html">cost & aid basics </a>| <a href="Apply now.html">join BGCC</a>
    <P>Studen Life</P>
    <P><a href="Athletics.html">Athletics</a></P>
    <P>Greenforce Education</P>
    <P><a href="Career.html">career center</a></P>
    </center> </div>
         <p><font size="2" color="black">BGCC | 99 GreenField | Boston, MA 02199 |617-0101-1000| TTY 617-0202-9944|</font></p>
        <div id="apDiv9"><a href="Donate.html" target="_blank"><a href="Donate.html"><img src="Pictures/three-green-logo.jpg" width="218" height="99" longdesc="Pictures/three-green-logo.jpg" /></div>
        <div id="apDiv8"><a href="Apply now.html" target="_blank"><a href="Apply now.html">
    <img border="0" src="Pictures/cxgvxdvxgd.jpg" alt="Apply Now" width="218" height="99"></a></div>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    </body>
    </html>

    That's what APDivs do.  This is the single most common problem new people have with web page layouts.  DO NOT use positioning.  You don't need it.  Start over.  Learn to use CSS floats, margins and padding to align elements. 
    Below is a basic HTML5 Layout.  View source in browser to see the code.
    http://www.alt-web.com/sandbox/HTML5-BasicLayout.html
    Nancy O.

  • How do I view multiple images in one window?

    How do I view multiple images in one window?  I want to compare images side by side, not in tabs.

    Thank you, Barbara.  I found that I had to close the program after I turned on "allow floating documents" and restart, before I was able to go to "float all in windows". 

  • How can I open many files in one window?

    how can I open many files in one window?

    Well when i do that, the fonts kinda stays whereas the size of the poster shrinks.
    But thanks for the help

  • Open multiple pdfs in one acrobat window

    There are many things annoying about Acrobat, but the one that really gets me is that the option to open multiple pdfs in the same window, rather than splattering them all over the toolbar, apparently has been removed in the latest versions.  I have been using Foxit for pdfs for the past few years and am only now returning to acrobat because we've purchased a piece of software that requires a plugin that works only in acrobat.
    Tabs are the proper solution.   How long ago did Firefox shake up the browser community with tabs, 15 years ago?   Where was Acrobat?   For a while, they bodged together a preference that would keep them all in the same window (no tabs however), but even that is gone.

    You can make a feature request here:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    On Thu, Sep 4, 2014 at 8:15 PM, whatsamattau <[email protected]>

  • Multiple websites on one server

    I've been trying to create multiple (two) websites on one server, with little luck. One sight works fine. I've tried creating a DNS entry for the new one, but I'm not sure what to set the IP to. I've tried many configurations of IP/hostname but nothing seems to work. Occasionally, the logs just disappear from the logs window.
    I've read on here that it's possible to run multiple sites off of one IP, so I feel like that is not the problem. Ideally, I'd like to have one of the sites not exist in the System/WebServer folder. If I place the site folder outside of that folder, do I have to add its folder as a share point and/or modify its permissions?
    Server version is 10.6.3

    I'm going to distinguish the web browser (client), the web server, and the DNS server here, and will treat these as running on three separate computers. You might have one or more of those co-located on one box, adjust these references to your configuration as necessary.
    The DNS translations are applicable only on the client; on the host box that is running with the web browser. The web server doesn't care about the DNS translation. The client needs the DNS to get the IP address of the web server, and it's off to the races from there.
    Again, DNS translations are not relevant the web server. The particular web server that gets selected (Apache Virtual Host, what Apple calls a "Site") based on some information that is passed within the http (don't start working with https quite yet) connection from the web browser into the web server.
    As for your DNS question, you'll probably want a CNAME (alias) entered in DNS database for the virtual hosts, even if you're awash with IP addresses. That alias must then match the name of the web server "Site". For testing, you can enter what amounts to CNAMES into /etc/hosts on the client, depending on your local set-up and your DNS server.
    By default, the connections to all virtual hosts are via port 80. Stay there for now.
    The web server selections are sensitive to the order of the "Sites" in the listing in Server Admin, too; you'll want the wildcard site (if you have that) at the end of the list.
    Here are some of the basics: [Apache Tips: One Web Server, Multiple Distinct Web Sites|http://labs.hoffmanlabs.com/node/1282]. Comments on that are welcome.

  • Can't play multiple movies in one window

    I must be doing something wrong. I wanted to watch a series of video clips (all .mov) in quicktime, but not in 10 different windows. Isn't there a way to highlight 10 clips, and then "play all" and have them open up in one window? For some reason, every time I attempt this, I get 10 quicktime players opening up! I'd just like one at a time, and the ability to skip to through the movies like I would do in iTunes with music. I seem to remember doing this before, but now can't remember how. Any ideas?

    The steps are correct but you've left out the one that adjusts the 2 through 9 movies position as compared to the others.
    The first video would hold a position of 0,0 (upper left). When you add the second video you need to adjust its "offset" to position it next to but not overlapping the first. Since your videos are 100X75 you would set the offset of the second track too 100,0 (100 pixels to the right of the original and 0 pixels different in height). The third would be 200,0 offset.
    On the second row your first file would be 0,75 (75 pixels below the upper video). The second file on the second row would be offset 100,75 and the third would be 200,75.
    The third row would be 0,150 followed by 100,150 and 200,150.
    You could add a slight "border" between each video and give it a color by using the bgcolor="your color" (standard html color codes) and adding that space by adjusting the offset plus your border width in pixels. Hollywood Squares style of video.
    http://homepage.mac.com/kkirkster/03war/ one of my older files that uses multiple track video playback of a QuickTime file. The "TV" set is a track and the video that plays "inside" it is another. The still image movies are also separate tracks and QuickTime .mov files can hold up to 99 tracks.

  • Multiple sheets in one window - Windows compatible application?

    Is there a Windows compatible application that can view a spreadsheet saved from Numbers '09 so the sheets all show up in one window? When I export using the various options in Numbers, then try to open in Excel, I get separate sheets.
    I need to work on a project with some Windows techs, would love to be able to do in Windows what we do on Mac...gang up multiple sheets in a single window.
    Thanks,
    Don

    In Excel you can open multiple windows of the same spreadsheet and thereby have more than one sheet viewable at the same time. For Mac it is the menu item Window/New Window. Then you can arrange them on the screen with Window/Arrange. I do not know the equivalent way to do this in the PC version but I'm sure the feature is there. It is useful for viewing 2-4 sheets at the same time but not much more.

  • Preview: open all PDFs in one window

    There used to be an option in Preview to open a group of PDFs in one window. There still is this option in v3.0.4 except that you can only do it with images now, and not PDFs.
    So is there a way around this; is there any way to get a group of PDFs to open in one window. Say a keyboard shortcut maybe?

    Hi Christiaan
    Tiger's preview has seemed to have lost a bit from its previous Panther version, but here is a workaround.
    You can batch print by creating a printer icon on your Desktop.
    In Printer Setup Utility, select the printer under Printers, choose Create Desktop Printer. This will allow you to drag multiple items onto it on the desktop and batch print them.
    regards roam

  • Opening multiple tabs in one click

    Until the last update, I had the ability on some websites to click a link and it would open multiple links, each in its own tab at once. With the latest update, I lost that ability.
    The website I am talking about is www.farmtowngifts.com.

    Some menu entries are hidden by default and only show up if you use the keyboard to open the menu. Bookmark All Tabs is one of them and you see that entry if you use Alt + B to open the Bookmarks menu. You can see the same if you use Alt + F to open the File menu instead of pressing Alt and click the menu entry.

  • How to Open Multiple Files into One Image with a Format Plug-in?

    Basic overview question:
    I'm interested in creating a format plug-in that will open multiple image files and combine them, then provide one image to Photoshop for further work.
    1.  Can an .8bi plug-in receive notification of multiple files to be opened?  (Not unlike Camera Raw).  Or does one absolutely need to use an .8ba Import plug-in to do this?  I would prefer .8bi.
    2.  Assuming yes, could the latter parts of the plug-in interface be used to open just one combined image?
    Thanks!
    -Noel

    1) An import plugin (8bi) doesn't get file information - it has to provide it's own open dialog.  Only a file format plugin gets a file, but only one at a time.  (ACR has some special magic)
    You might want to take a look at the PhotoMerge and MergeToHDR setups with a script driving a plugin.

Maybe you are looking for

  • My Iphone 4 will not show up in Itunes, and it wont turn on, it is stuck with the apple logo on the screen

    One day my Iphone would not turn back on after I turned it off, now it is stuck with the apple logo on it. Also I have tried plugging it into 3 different computers now, and Itunes will not recognize it. Please help.

  • Can't create Form! Why? Any ideas?

    I used a wizard to create a form. But when i click on finish button, nothing happens. I waited for some time and the clicked on navigator. The form wasn't there in my provider (where are reports and charts). I used find with the name of my form and f

  • Softkey problems on different devices

    Hi! This is a basic problem. How can I determine what are the keycodes of the softkeys (right / left) on a canvas? On a Sony Ericsson the codes are -6 and -7, on an old Motorola -21 (or 21) and -22 (or 22), but I don't know which devices do this stup

  • Sequences in fragmented tables in oracle9i

    how can I create a sequence that somehow checks what the nextval is as I have the same customer table in two databases? do I need to build a trigger? I tried to use LAST_NUMBER from USER_SEQUENCES but it is not updated during normal db operation (say

  • Manual transfer of photos..deletes music?

    I want to take photos from one computer that does not have my music on it but looking at the manual transfer instruction in 'photos' it says that itunes will first copy all the music in the library and then the photos. This seems nuts. That would eff