Cmdlets for Microsoft Excel

Build 25.0.9434

EnableOleDbCompatibility Parameter (Connect-Excel Cmdlet)

Specifies whether to emulate how the Microsoft OLE DB Driver reports newline characters.

Syntax

Connect-Excel -EnableOleDbCompatibility SwitchParameter

Data Type

bool

Default Value

false

Remarks

If this connection property is set to True, the cmdlet reports newline characters as '\n' instead of '\r\n', as the Microsoft OLE DB Driver does.

If this connection property is set to False, the cmdlet reports newline characters as '\r\n'.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434