MD化ロジックを修正

This commit is contained in:
2026-04-23 09:35:22 +09:00
parent 87fcf58d94
commit 8031a32b59
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@@ -97,13 +97,16 @@ Sub ExportMarkdown_Complete()
colLetter = items(key)(0) colLetter = items(key)(0)
cond = items(key)(1) cond = items(key)(1)
Dim cellValue As String
If cond = "種別(固定)" Then If cond = "種別(固定)" Then
categoryFixed = dataWs.Range(colLetter).Value categoryFixed = dataWs.Range(colLetter).Value
ElseIf cond = "種別(表)" Then
cellValue = dataWs.Range(colLetter).Value
Else Else
Dim colNum As Long Dim colNum As Long
colNum = Columns(colLetter).Column colNum = Columns(colLetter).Column
Dim cellValue As String
cellValue = dataWs.Cells(r, colNum).Value cellValue = dataWs.Cells(r, colNum).Value
cellValue = Replace(cellValue, vbCrLf, vbLf) cellValue = Replace(cellValue, vbCrLf, vbLf)
cellValue = Replace(cellValue, Chr(13), vbLf) cellValue = Replace(cellValue, Chr(13), vbLf)