इसके लिए मध्यवर्ती विंडो का उपयोग करना सबसे अच्छा है। मैं अक्सर इस कारण से SQL क्वेरी के साथ ऐसा करता हूं।
इसे दिखाने के लिए, "देखें -> इंटरमीडिएट विंडो" (या नियंत्रण + जी) का उपयोग करें।
तो निम्नलिखित की तरह सिंटैक्स का उपयोग करें:
debug.print "This is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long string"
और आप का चयन करें और पेस्ट कॉपी/मध्यवर्ती खिड़की से बाहर या पूरे चर देखने के लिए स्क्रॉल कर सकते हैं।
ध्यान दें कि इंटरमीडिएट विंडो स्वचालित रूप से साफ़ नहीं होती है लेकिन आप जब भी चाहें सब कुछ चुन सकते हैं और इसे हटा सकते हैं।
क्या आपने तत्काल विंडो में 'Debug.Print variable_name_here' का उपयोग करने का प्रयास किया है? तत्काल विंडो पर – Grant
या बस '? Variablename'। – Santosh