ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Enlarge a linked window using VBA (https://www.excelbanter.com/excel-programming/446922-enlarge-linked-window-using-vba.html)

[email protected]

Enlarge a linked window using VBA
 
I use the following code to open a Google Search window and place text ready for a search, but the window is minimized. I would like for it to open maximized. Can you offer a suggestion? Thanks.

If Range("F338").Value = Range("X340").Value Then
Dim Info As String
Dim FullURL As String
Info = Range("H337").Value & " smtp settings"
FullURL = "https://google.com/webhp?q=" & Info
ActiveWorkbook.FollowHyperlink Address:=FullURL
NewWindow = True
End If


All times are GMT +1. The time now is 01:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com