+ Reply to Thread
Results 1 to 4 of 4

Formatting of data output from listbox rows

  1. #1
    Forum Contributor
    Join Date
    05-08-2009
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    223

    Formatting of data output from listbox rows

    Hi, just a quick query hopefully....?

    I have the following portion of code which pastes each row of a listbox onto a separate line as follows,

    row1<fullstop><comma>
    row2<fullstop><comma>
    row3<fullstop>

    I want it to only display a fullstop after the very last row entry, not for each line, but now matter how I tweak it it wont do what I want.

    Can someone point out the obvious please...it's driving me nuts!

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Formatting of data output from listbox rows

    I think this sub does what you want ....

    Please Login or Register  to view this content.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Contributor
    Join Date
    05-08-2009
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    223

    Re: Formatting of data output from listbox rows

    Sorry,

    I can make out what it's doing but can't see how to incorporate it into the existing code I have....

  4. #4
    Forum Contributor
    Join Date
    05-08-2009
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    223

    Re: Formatting of data output from listbox rows

    Sorted it....I had a rouge "." entered earlier in the code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1