Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

FitAll

$
0
0

I'm looking for a VB Code to display full screen when the file is opened. I tried using this code:

 

Public Sub Display_Open()
    Dim Display As Display
    Set Display = ThisDisplay
    Display.Zoom = "FitAll"

End Sub

 

Though it works but only when I run the Macro manually. But I want the macro to run automatically when the file is opened. 


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>