Windows Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of all the Window objects in Microsoft Excel.
public interface class Windows : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020892-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Windows : System.Collections.IEnumerable
Public Interface Windows
Implements IEnumerable
- Attributes
- Implements
Remarks
The Windows collection returned by the Windows property of the Application object contains all the windows in the application, whereas the Windows collection returned by the Windows property of the Workbook object contains only the windows in the specified workbook.
Use the NewWindow method of a Window or Workbook object to create a new window and add it to the collection.
Use Windows(index
), where index
is the window name or index number, to return a single Window object.
Note that the active window is always Windows(1).
Properties
_Default[Object] |
Reserved for internal use. |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Item[Object] |
Returns a single object from a collection. |
Parent |
Returns the parent object for the specified object. |
SyncScrollingSideBySide |
True enables scrolling the contents of windows at the same time when documents are being compared side by side. False disables scrolling the windows at the same time. |
Methods
Arrange(XlArrangeStyle, Object, Object, Object) |
Arranges the windows on the screen. |
BreakSideBySide() |
Ends side-by-side mode if two windows are in side-by-side mode. |
CompareSideBySideWith(Object) |
Opens two windows in side-by-side mode. |
GetEnumerator() | |
ResetPositionsSideBySide() |
Resets the position of two worksheet windows that are being compared side by side. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기