Forum Discussion
chancelin
Dec 01, 2018Copper Contributor
Debug.Print and Debug.WriteLine
Hello family
What's the difference between Debug.Print and Debug.WriteLine?
2 Replies
Sort By
- Haytham AmairahSilver Contributor
Hi,
There is no method in VBA called (Debug.WriteLine).
In VBA, The Debug object has only two methods, .Print and .Assert.
Please read this article.
The Debug.WriteLine is part of .NET Framework and it can be used in .NET languages such as VB.NET and C#.
You can say that the Debug.WriteLine is the .NET Framework equivalent method to the Debug.Print in VBA.
Hope that make sense
- chancelinCopper Contributor
Thanks Haytham Amairah for your answer