Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Counting characters in text cell to find 255 limit

I have an Excel data base that I want to use to create a Publisher
document.... kind of like a catalog

Publisher will only allow the import of 255 characters into a merge field.
This means that I will have to break up text in my Excel database into
chunks of 255 and create multiple merge fields in Publisher (Like
Comments1, Comments2 etc.)

What I am looking for is a way to have my mouse highlight and count the
number of characters as it is highlighting the text.

Is there a way to accomplish this??

Thanks!

Dunc


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default Counting characters in text cell to find 255 limit

Dunc,
To break a string into substrings of 255 characters you can use the
following formula (assuming your breakdown starts at column E and to
the right, hence first formula in E2, data in A2):

=MID($A2,255*(COLUMNS($E2:E2)-1)+1,255)

Regarding the mouse thing that you are asking, it can be done, but
right now I am not very proficient with the libraries that would be
needed for producing a floating textbox with the
Worksheet_SelectionChange event macro. If you really need this and you
don't get any replies here I suggest you look at .programming.

HTH
Kostis Vezerides

Dunc wrote:
I have an Excel data base that I want to use to create a Publisher
document.... kind of like a catalog

Publisher will only allow the import of 255 characters into a merge field.
This means that I will have to break up text in my Excel database into
chunks of 255 and create multiple merge fields in Publisher (Like
Comments1, Comments2 etc.)

What I am looking for is a way to have my mouse highlight and count the
number of characters as it is highlighting the text.

Is there a way to accomplish this??

Thanks!

Dunc


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Counting characters in text cell to find 255 limit

Thanks for your reply Kostis.

I guess I need to look further.

I have about 350 records that I need to work on.

I would need to have it go down column "w" and break any text cell into 255
chunks in X, Y and Z... if that makes sense.

I thought I could do it manually if I could find a character counter for my
Mouse..

Dunc
"vezerid" wrote in message
ups.com...
Dunc,
To break a string into substrings of 255 characters you can use the
following formula (assuming your breakdown starts at column E and to
the right, hence first formula in E2, data in A2):

=MID($A2,255*(COLUMNS($E2:E2)-1)+1,255)

Regarding the mouse thing that you are asking, it can be done, but
right now I am not very proficient with the libraries that would be
needed for producing a floating textbox with the
Worksheet_SelectionChange event macro. If you really need this and you
don't get any replies here I suggest you look at .programming.

HTH
Kostis Vezerides

Dunc wrote:
I have an Excel data base that I want to use to create a Publisher
document.... kind of like a catalog

Publisher will only allow the import of 255 characters into a merge
field.
This means that I will have to break up text in my Excel database into
chunks of 255 and create multiple merge fields in Publisher (Like
Comments1, Comments2 etc.)

What I am looking for is a way to have my mouse highlight and count the
number of characters as it is highlighting the text.

Is there a way to accomplish this??

Thanks!

Dunc




Reply
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
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
Cell size? Or size limit for Text data type? CClem Excel Discussion (Misc queries) 0 April 21st 06 04:09 PM
Cell Capacity - text i2meek Excel Discussion (Misc queries) 4 March 13th 06 12:06 AM
Find text in cell, copy row to new sheet Ajay Excel Discussion (Misc queries) 6 June 29th 05 08:40 AM


All times are GMT +1. The time now is 12:21 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"