Selasa, 23 Agustus 2011

[ExcelVBA] Re: Combining cell results in different worksheets

 

Hi multiuseguy (would you explain this moniker.it brings many images)

Observation:

If you get result you desire, you will lose the ability to know which sheets
the data comes from.

Suggestion:

You can do this with a really complicated CONCATIONATE state which still may
be preferable to using VBA since you only have to do it once.

Concatonate (if (trim('t 1'!c7)="",'t 1'!c7 ,""), if (trim('t 2'!c7)="",'t
2'!c7 ,""),..., if (trim('t 15'!c7)="",'t 15'!c7 ,""))

You don't even need the "trim" function since you could compare for " "
which you say each non-value cell contains.

But this way... you don't have to force a space into these cells, but can
also handle blank cells (or even cells with just multiple blanks)

Db

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar