PDA

View Full Version : Solved: CNTL + N



khalid79m
03-27-2011, 03:31 AM
Dim Link As String
Link = ThisWorkbook.Sheets("FB").Range("W2").Value

Dim objIE As Object
Set objIE = CreateObject("InternetExplorer.Application")
With objIE
.Visible = True
.MenuBar = False
.Toolbar = False
.StatusBar = False
.Width = 730
.Height = 140
.Resizable = False
.Navigate URL:=Link (http://www.vbaexpress.com/forum/=Link)
End With
This is i launch the media player (url path) to play a certain song based on the w2 value, i need to stop the user from being able to lauch a new window , because when u do that u can see all the tool bars etc

Paul_Hossler
03-27-2011, 06:08 AM
What does


.Visible = False


do?

Paul

khalid79m
03-28-2011, 06:11 AM
.visible false hides the window IE