From 6ebac7b6dc525ae6f77e22bf1c6cf917cdbb13f3 Mon Sep 17 00:00:00 2001 From: Davis Henckel <51898571+DavisHenckel@users.noreply.github.com> Date: Fri, 26 Nov 2021 12:18:05 -0800 Subject: [PATCH] Add newlines --- FAQ/How to Write to an Existing Excel File.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FAQ/How to Write to an Existing Excel File.md b/FAQ/How to Write to an Existing Excel File.md index 15120e0..e8f6361 100644 --- a/FAQ/How to Write to an Existing Excel File.md +++ b/FAQ/How to Write to an Existing Excel File.md @@ -3,13 +3,13 @@ ```powershell $ExcelPkgFile = Open-ExcelPackage -Path "C:\Test\file.xlsx" ``` -Contents of file.xlsx: +Contents of file.xlsx: ![ExcelFileContents](/images/FAQ_Images/ExcelFileContents.png) ### Enumerate the Worksheet to View or Modify the Data ```powershell $WorkSheet = $ExcelPkgFile.Workbook.Worksheets["sheet1"].Cells #open excel worksheet cells from worksheet "sheet1" ``` -Visual of Data Structure: +Visual of Data Structure: ![DataStructureExcelPkg](/images/FAQ_Images/DataStructureExcelPkg.png) Modify a specific value by accessing row/col like a 2D Array: