ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Auto Maximize posible? (https://www.excelbanter.com/excel-discussion-misc-queries/162274-auto-maximize-posible.html)

Mike

Auto Maximize posible?
 
Is it possible for Excel to maximize automatically when a certain value is
triggered in one of the cells with a formula? ie. If I have a spreadsheet
linked to a live quaote system and I want excel to auto maximize as soon as a
certain number is hit in a cell?

Thanks

JW[_2_]

Auto Maximize posible?
 
Use the Worksheet Change event of the applicable worksheet. Right
click on the sheet tab and select View Code. Then place something
like below.

This will maximize the Excel application when range D5 = 6. Adjust as
needed.
Private Sub Worksheet_Change(ByVal Target As Range)
If Cells(5, 4).Text = "6" Then _
Application.WindowState = xlMaximized
End Sub

Mike wrote:
Is it possible for Excel to maximize automatically when a certain value is
triggered in one of the cells with a formula? ie. If I have a spreadsheet
linked to a live quaote system and I want excel to auto maximize as soon as a
certain number is hit in a cell?

Thanks




All times are GMT +1. The time now is 06:12 PM.

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