Thread: Multiple links
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
JLatham JLatham is offline
external usenet poster
 
Posts: 3,365
Default Multiple links

No easy solution comes to mind right away. With 30 worksheets you have too
many to deal with using IF() statements (unless you're using 2007).

My suggestion would involve a VBA (macro) solution. If you care to explore
that, let me know. Without deep thought, basically we'd bring the links into
individual cells somewhere (even on a hidden sheet), then figure out a way to
build a string based on their contents, ignoring blanks, to stuff into that
cell. By "figure a way to build" I mean figure out when. I'm thinking that
Worksheet_Activate would probably be a good place, then each time you select
that sheet, the code would run making sure the contents of that cell is
current.


"jelm" wrote:

Thank you so much, I do have a list now. It looks as though it's pulling
blank cell space into the list which leaves not enough space for the data. I
am pulling info from the same cell on more than 30 worksheets within the same
workbook. Some of those cells are blank at times. Any suggestions?

"JLatham" wrote:

Format the cell to Wrap Text and make it taller to begin with. It would
probably help to see the formula that is in the cell at this time.

If this is a simple concatenation of several other locations, like
= A5 & B99 & D4 & Z14
then if you'll write it as
= A5 & CHAR(10) & B99 & CHAR(10) & D4 & CHAR(10) & Z14
the & CHAR(10) portions will force a new line at each of them, and with word
wrap turned on, they will appear as a list.

If you're using the CONCATENATE() function then it would be like:
=CONCATENATE(A5,CHAR(10),B99,CHAR(10),D4,CHAR(10), Z14)


"jelm" wrote:

I have information coming from multiple links into one cell but would like
this information to be a list. As of now, the information is all over the
cell, not in any order. Any suggestions would be appreciated.