PDA

View Full Version : Solved: Testing code comments



mdmackillop
02-07-2005, 03:02 PM
Test 1

If IsDate("31/1/01") Then
'UK Date format
Else
'US Date format
End If


Test 2
Sub Yellow()
With Selection.Interior
If .ColorIndex = 6 Then
'Remove colour
.ColorIndex = xlNone
Else
'Set colour
.ColorIndex = 6
End If
End With
End Sub

Zack Barresse
02-07-2005, 04:23 PM
'test
''test2
'''test3
' test4
' ' test 5
' ' ' test6

So what happened to the VBA code comments?

mdmackillop
02-07-2005, 04:45 PM
Hi Zack,
They got posted in the email instead!

Hello mdmackillop,

firefytr has just replied to a thread you have subscribed to entitled - Testing code comments - in the Testing Area forum of VBA Express Forum.

This thread is located at:

http://www.vbaexpress.com/forum/showthread.php?t=1790&goto=newpost (http://www.vbaexpress.com/forum/showthread.php?t=1790&goto=newpost)

Here is the message that has just been posted:

***************

'test

''test2

'''test3

' test4

' ' test 5

' ' ' test6

***************



There may be other replies also, but you will not receive any more notifications until you visit the forum again.

Yours,

The Team of Coders at VBA Express Forum

Jacob Hilderbrand
02-07-2005, 06:19 PM
I'll let Mark007 know about this.

mark007
02-08-2005, 01:37 AM
Doh - sorted now, thanks for the spot!

:)

mdmackillop
02-08-2005, 01:42 AM
Thanks Mark.