Article View: pl.comp.lang.vbasic
Article #92283Re: VBA-EXCEL StrComp()
From: Piotr Lipski
Date: Fri, 21 Oct 2005 06:50
Date: Fri, 21 Oct 2005 06:50
30 lines
1533 bytes
1533 bytes
Dnia Fri, 21 Oct 2005 08:30:50 +0200, wiktor napisał(a):
> Witam !!!
> Nie bardzo rozumiem jakie jest działanie trzeciego argumentu tej funkcji
> ,oraz jaki jest wpływ Option Compare na działanie tej funkcji, proszę o
> wyjaśnienie.
> StrCopm(str,str, arg?).
<WIN>+R
excel<enter>
<Alt>-F11
<Ctrl>-G
? strcomp("a", "A", vbTextCompare)<enter>
? strcomp("a", "A", vbBinaryCompare)<enter>
Rozjaśniło się?
Odnośnie "Option Compare", cytat z helpa:
<cite>
Used at module level to declare the default comparison method to use when
string data is compared.
</cite>
Czyli po naszemu - ustawiasz tym ustrojstwem wartość domyślną trzeciego
argumentu funkcji strcomp.
Use F1, Luke...
--
PL
Technical Details
Message-ID:
<dja30j$43j$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mailReferences:
<43588aec@news.home.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail From: Piotr Lipski <piotr.lipski@nie.p0czta.spamuj.b0.onet.w.ryj.pl> Newsgroups: pl.comp.lang.vbasic Subject: Re: VBA-EXCEL StrComp() Date: Fri, 21 Oct 2005 08:50:24 +0200 Organization: Onet.pl Lines: 30 Sender: Piotr Lipski <> Message-ID: <dja30j$43j$1@news.onet.pl> References: <43588aec@news.home.net.pl> NNTP-Posting-Host: farmfrites.ext.ids.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1129877331 4211 213.77.126.170 (21 Oct 2005 06:48:51 GMT) X-Complaints-To: usenet@news.onet.pl NNTP-Posting-Date: Fri, 21 Oct 2005 06:48:51 +0000 (UTC) X-Sender: k8V2QDKeTIFe2ZofQR+7UwJQvFq7Hofm8IvhXReqMQ4= User-Agent: 40tude_Dialog/2.0.15.1pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit