Skip to content

Commit ac50e3d

Browse files
committed
Update exportation-examples.md
1 parent aa89bd2 commit ac50e3d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/examples/exportation-examples.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ nav_order: 2
1818

1919
## Export data to a CSV file
2020

21-
The [example1] shows how you can export all the data in VBA array to a CSV file using the RFC-4180 standard as paramount.
21+
The [EXAMPLE1] shows how you can export all the data in VBA array to a CSV file using the RFC-4180 standard as paramount.
2222

23-
#### [example1]
23+
#### [EXAMPLE1]
2424
*Note: the example uses the option `QuotationMode.Critical`, [learn more here](https://ws-garcia.github.io/VBA-CSV-interface/api/enumerations/quotationmode.html).*
2525
```vb
2626
Sub ExportToCSV_RFC4180()
@@ -47,12 +47,12 @@ End Sub
4747

4848
## Export to a CSV file without special syntax
4949

50-
The [example2] shows how you can export all the data in VBA array to a CSV file without check the RFC-4180 standard’s rules. Be careful, use this only if the array doesn't hold especial chars (vbCrLf [vbCr, vbLf], comma [semicolon], double quotes[apostrophe]) in neither of its fields. The output CSV file has neither field needing to be escaped.
50+
The [EXAMPLE2] shows how you can export all the data in VBA array to a CSV file without check the RFC-4180 standard’s rules. Be careful, use this only if the array doesn't hold especial chars (vbCrLf [vbCr, vbLf], comma [semicolon], double quotes[apostrophe]) in neither of its fields. The output CSV file has neither field needing to be escaped.
5151

5252
See also
5353
:[QuotationMode](https://ws-garcia.github.io/VBA-CSV-interface/api/enumerations/quotationmode.html), [EscapeType](https://ws-garcia.github.io/VBA-CSV-interface/api/enumerations/escapetype.html).
5454

55-
#### [example2]
55+
#### [EXAMPLE2]
5656
*Note: the example uses the option `QuotationMode.All`, and `EscapeType.NullChar`*
5757
```vb
5858
Sub ExportToCSV()
@@ -78,12 +78,12 @@ Sub ExportToCSV()
7878
Set CSVix = Nothing 'Terminate the current instance
7979
End Sub
8080
```
81-
The [example3] shows how you can export all the data in VBA array to a CSV file without check the RFC-4180 standard’s rules. Each field CSV of the output file need to be escaped by desired char. The procedure presented in the [example3] can be used in whatever circumstance.
81+
The [EXAMPLE3] shows how you can export all the data in VBA array to a CSV file without check the RFC-4180 standard’s rules. Each field CSV of the output file need to be escaped by desired char. The procedure presented in the [EXAMPLE3] can be used in whatever circumstance.
8282

8383
See also
8484
:[QuotationMode](https://ws-garcia.github.io/VBA-CSV-interface/api/enumerations/quotationmode.html), [EscapeType](https://ws-garcia.github.io/VBA-CSV-interface/api/enumerations/escapetype.html).
8585

86-
#### [example3]
86+
#### [EXAMPLE3]
8787
*Note: the example uses the option `QuotationMode.All`, and `EscapeType.NullChar`*
8888
```vb
8989
Sub ExportToCSV()

0 commit comments

Comments
 (0)