Better check those regular expressions, Mark ...
this
testing.VB:Sub test() End Sub Dim x As Integer
![]()
Last edited by mark007; June 8th, 2007 at 21:38.
"Computers are useless. They can only give you answers." - Pablo Picasso
The Code Net
Better check those regular expressions, Mark ...
Entia non sunt multiplicanda sine necessitate.
MS MVP - Excel
Yep, think it just needs an extra modifier to make it multiline. Will test tomorrow as don't have ftp details saved on this pc. And it's getting late...
"Computers are useless. They can only give you answers." - Pablo Picasso
The Code Net
Is this to warn people about using code tags, or to actually try to wrap code with tags? The latter seems much harder ...
Entia non sunt multiplicanda sine necessitate.
MS MVP - Excel
It is the former for the very reason you mention!
It checks for code tags. If not found then it checks for:
and if found pops up the message.VB:If xxx Then Sub xxx(xxx) Function xxx(xxx) Dim xxx
Seems to be working now.
![]()
"Computers are useless. They can only give you answers." - Pablo Picasso
The Code Net
That sounds good, Mark.
It would be nice if the pop-up had a two-step graphic: Select your code (picture of some code selected in a frame); Push this button (picture of entry frame with an arrow pointing to the code button).
Also, this won't run until user presses Submit or Preview, right?
Entia non sunt multiplicanda sine necessitate.
MS MVP - Excel
That's correct.
![]()
"Computers are useless. They can only give you answers." - Pablo Picasso
The Code Net
dsfsdfnsdm
sub mysub
sadasd
end sub
"Computers are useless. They can only give you answers." - Pablo Picasso
The Code Net
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks