VBA for Month and Quarters Output

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Hi,

I am new to writing in VBA, but I would like to write a function, where the
inputs are a start date and an end date (month&year), and the output is a
range in a single row of an indefinite number of columns (to be determined by
how muhc time is between the starting date and the ending date). I would
like the output to be in the form of showing the month and year, and at the
end of every fiscal quarter showing the quarter and year. For example the
output would look like the following, where a comma shows where a break
between cells in a row occurs:

"Jan-2009, Feb-2009, Mar-2009, Q1-2009, Apr-2009,..."

Any tips would be greatly appreciated. I assume I will have to write this
as a function not a subroutine, but would appreciate hearing suggestions.

Thanks!
--
Hugo
.



Relevant Pages

  • Re: Orson Scott Card, best living author PERIOD?
    ... I am, perhaps, showing my ... >>ignorance, but the man has a solid career of writing and editing, not to ...
    (rec.arts.sf.written)
  • Re: This is brilliant! Just look how long it is! Ha ha ha ha ha ha
    ... > "Effectively showing code so it confuses newbies is a main objective ... > in writing almost all my web articles. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Racefail - Usenet Uber Alles
    ... James can still call them "the white ... man showing up", if he wants, even though they showed ... up in mumblety BC. ... The writing is in each case a writing ...
    (rec.arts.sf.written)
  • Re: Control scrolling in a TextBox
    ... > message is appended to the previous with a chrin VBA. ... > What I want is to always be showing the last, most recent line, all ... unless the user scrolls up. ... > Is it possible to create that behavior somehow? ...
    (microsoft.public.excel.programming)
  • Re: Returning more than one value
    ... I lost track of this thread. ... I suppose this would be easier if you know VBA but I don't know VBA at all! ... data in a single row if there is more than one match. ... number of ties would be 4. ...
    (microsoft.public.excel.misc)