+ Reply to Thread
Results 1 to 22 of 22

Monthly Event Schedule (format like that)

Hybrid View

  1. #1
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Monthly Event Schedule (format like that)

    This line, in the middlish of the sub controls the delimiter between items of one event.
    oneEventString = oneEventString & HeadersArray(i) & _
       CStr(Application.Intersect(.Cells,dataRange.Columns(columnsReturned(i))).Value) _
       & vbCr
    and this line, near the start of the sub, controls the delimiter between different events.
    Dim oneEventString As String, eventDelimiter As String: eventDelimiter = vbCr
    If you are on a Windows machine, you might need to use vbLF or vbCrLf instead of vbCr.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  2. #2
    Registered User
    Join Date
    07-13-2010
    Location
    Hanoi, VN
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    11

    Re: Monthly Event Schedule (format like that)

    Quote Originally Posted by mikerickson View Post
    This line, in the middlish of the sub controls the delimiter between items of one event.
    oneEventString = oneEventString & HeadersArray(i) & _
       CStr(Application.Intersect(.Cells,dataRange.Columns(columnsReturned(i))).Value) _
       & vbCr
    and this line, near the start of the sub, controls the delimiter between different events.
    Dim oneEventString As String, eventDelimiter As String: eventDelimiter = vbCr
    If you are on a Windows machine, you might need to use vbLF or vbCrLf instead of vbCr.
    Hi Mike,

    Plz tell me what to do. I've replaced all vbCr by vbLF in the code of UDF, but it did not work. And then I replaced all vbCr by vbCrLf, but the nothing happened too. I am using Windows XP machine in my office and Windows Vista machine at home.

    Awaiting your help soon.

    Many thanks.

+ 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