Solved

Open map location in a second userform

Posted on 2011-03-02
5
291 Views
Last Modified: 2012-05-11
Dear Experts,

I'm trying to make this code work:

Set appBrowser = Me.UserForm4.WebBrowser1

Open in new window


This is a follow-up question from here

As the initial userform grew with more and more fields, it became relevant that the map location would take too much space. A better alternative was to call the map from a button who would open a second userform.

I thought I will only change  a part of the code and show userform4 (which contains the map).

But maybe I'm wrong somewhere.

Any help woud be appreciated.

thanks
currentdb
0
Comment
Question by:currentdb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
SiddharthRout earned 500 total points
ID: 35020785
Is this what you want?

Sid
userform-sample-v7.xlsm
0
 
LVL 1

Author Comment

by:currentdb
ID: 35020917
Hi Sid,

Yes exactly! :)

While I was waiting, I also figured this:

Set browser = CreateObject("InternetExplorer.Application")
   browser.Visible = True
   browser.Navigate strGoogleMapURL

Open in new window


And it will open Internet Explorer rather than another userform. Looking now at the code you wrote for userform 4, I can see that it was much more easier than I thought. I just did not think to copy it on the userform4.

Thanks again for your ultra fast help! :)
0
 
LVL 1

Author Closing Comment

by:currentdb
ID: 35020922
Thanks for your ultra enormous fast help! :)
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 35020925
You are welcome :)

Sid
0
 
LVL 1

Author Comment

by:currentdb
ID: 35189249
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question