LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Text string with only punctuation

Not sure what you mean. The code works for me.
How can the code work fine, but always return "" ?

NickHK

"BOBODD" wrote in message
...
When I run the code below, the if/then satements work fine, but the out

put
is "" regardless of the condition. It seems be ok with words, but not
puntuation.

If chkBankLink.Value = True And chkCapture.Value = True Then
a = ", "
b = ". "
ElseIf chkBankLink.Value = True Xor chkCapture.Value = True Then
a = ""
b = ". "
Else
a = ""
b = ""
End If



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change 3 letter text string to a number string Pete Excel Discussion (Misc queries) 3 December 31st 07 07:47 PM
Punctuation English/Danish Lise Setting up and Configuration of Excel 1 July 31st 06 08:48 PM
Remove Punctuation? kcoakley Excel Worksheet Functions 6 June 2nd 06 04:46 AM
Splitting a text string into string and number mcambrose Excel Discussion (Misc queries) 4 February 21st 06 03:47 PM
Ignore punctuation Purnima Excel Programming 2 March 10th 05 12:46 PM


All times are GMT +1. The time now is 06:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"