We are trying to edit a markdown file in excel vba. Our idea is to add line(s) with the updates that we performed, those updates are listed on a spreadheet. Up to now we wrote the following function
Public Sub UpdateChangeLog()
Dim Output As String
Dim FileSystemObject As FileSystemObject
Set FileSystemObject = CreateObject("Scripting.FileSystemObject")
Set Changelog = FileSystemObject.OpenTextFile(<Path to File>, ForReading)
Output = Changelog.ReadAll
.....
End Sub
Unluckily the Output is not readable
"ÿþ#??A ??????A??????????????????????????A??A???A??????????????A??EEEE??A??A?????????????A
Same occurs if I try to read the file line by line. Do you know if what we are trying to achieve is feasible? If so, how can we do it?
Markdown File Content:
# Changelog All notable changes to this component will be documented in this file.
## [Unreleased]
## [0.0.1] - dd-MMM-yyyy
### Initial Version
- General schema only
- Cloud agnostic
- No cloud provider information available.
# [Released]
## [1.0.0] - dd-MMM-yyyy
General Description