Is there any chance of getting an addition to the forum code that would allow you to use regular spaces in order to show programming code propperly? I understand that in order for this to work , you'd have to store all the extra spaces, but the only way to do this now is to use & n b s p ; and that's 4 characters more than just a regular space would be. And if it is only applied to text between specific tags like
, then it wouldn't be something used all the time.
Example without it:
Sub Main()
Dim objFSO, objFolder, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:\")
For Each objFile in objFolder.Files
objFile.Copy("C:\copiedfiles")
Next
Set objFile = Nothing
Set objFolder = Nothing
Set objFSO = nothing
End Sub
Example with:
Code:
Example without it:
Sub Main()
Dim objFSO, objFolder, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:\")
For Each objFile in objFolder.Files
objFile.Copy("C:\copiedfiles")
Next
Set objFile = Nothing
Set objFolder = Nothing
Set objFSO = nothing
End Sub
Example with:
Code:
Sub Main()
Dim objFSO, objFolder, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:\")
For Each objFile in objFolder.Files
objFile.Copy("C:\copiedfiles")
Next
Set objFile = Nothing
Set objFolder = Nothing
Set objFSO = nothing
End Sub
