Hi,
I am writing VBA script to generate JSON file from excel which contains the data in excel sheet.
I initialized the below function in VBA. But when I try to call the function i am getting error in WriteLine. Without WriteLine I am able to call the function.
Do I have to declare anything...
Morning all,
The code snippet below is the subject of my question.
If r = 7 Then
analyte = "Horizon Depth to Top"
If Cells(r, K) = 6 Then
Err = Err + 1
stream.WriteLine analyte & " is missing in cell " & KOL & r & ", please...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.