2/12/2023 0 Comments Excel for mac tutorial print![]() ![]() ![]() The Immediate window can be used to run other kinds of VBA code, but bear in mind that the Immediate window can only be used when debugging so any code that you run is for debugging purposes only. The Immediate window displayed the result of 800 in the next line. In this example, we typed print Int(pValue) in the Immediate window and pressed ENTER. You can also type more complicated expressions in the Immediate window. In this case, the print LWhole command returned 800. The Immediate window displayed the result in the next line. ![]() In this example, we typed print LWhole in the Immediate window and pressed ENTER. This can be done using the print command.įor example, if you wanted to check the current value of the variable called LWhole, you could use the print command as follows: We've found the Immediate window to be the most help when we need to find out the value of a variable, expression, or object at a certain point in the program. In Excel 2011, the Immediate window can be used to debug your program by allowing you to enter and run VBA code in the context of the suspended program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |