What's new

VBA and Tablet Orientation

TedN

New Member
When a UserForm is used on a tablet it doesn't automatically re-size when the orientation of the tablet is changed. Does anyone know how to access the orientation mode (longways up or longways sideways) so that I can provide the necessary changes in my vba code to re-size the UserForm as required. Is there an API, etc., which conveys the tablet orientation.

Thanks,
 
Top