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: 5
Default XLL ('C' extension) question

This may be more general but here goes...

I've written an XLL extension which merges cells together (think the exact
opposite of "text to columns"). So what should happens is

Merge cells 1,2,3 to X thus...
Cell1: 1234
Cell2: ABCD
Cell3: 5678
== CellX: 1234ABCD5678

Works a treat but there's more. Like the inverse of text to columns, I can
add delimiters (in case there are odd spaces etc) and also separators. So
let's repeat the above but use double-quotes as delimiters and commas as
separators...

==CellW: "1234","ABCD","5678"

It's still working. But if I use SINGLE quotes as delimiters, what Excel
displays is

==CellZ: 1234','ABCE','5678' !! Note the MISSING leading single
quote !!

Now there are some real oddities here...

1. I guess Excel is using the first quote to mean "display as text" but...
2. If I manually "edit" CellZ, Excel shows the leading (missing)
single-quote in the edit box.
3. If I create a similar cell, with the leading single-quote, manually and
use a formula to ask "are they the same", Excel claims they are not.
4. If I repeat #3 but remove the leading quote from my "manually created"
cell, it STILL doesn't match the value my extension created.

So, any ideas? It's not a biggy but I'm a real pernickety person and I'd
like to know what I should, or should not, be doing to fix this.

Paul DS.

 
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
.xls Extension Felix Excel Discussion (Misc queries) 2 July 9th 08 09:34 PM
Transformation d'images avec une extension .jpg ou .jpeg en images avec extension .bmp ou .ico imej-clavier Excel Discussion (Misc queries) 1 May 28th 05 05:52 PM
.xlb extension Tanya T. Excel Discussion (Misc queries) 5 April 28th 05 12:12 AM
axis value extension Jose Mourinho Charts and Charting in Excel 1 April 20th 05 01:33 PM
xls extension winjon Excel Discussion (Misc queries) 1 March 3rd 05 11:20 AM


All times are GMT +1. The time now is 09:32 PM.

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"