+ Reply to Thread
Results 1 to 3 of 3

VBA to get 2nd Tuesday of month

  1. #1
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    VBA to get 2nd Tuesday of month

    For current month, return 2nd Tuesday of the month.
    If current date is in month = Sep, Dec, Mar or Jun, otherwise return null.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    do you need vba or will a function do?
    function is in cell formated as date
    Please Login or Register  to view this content.
    a1 can be replaced with today() else enter date in a1
    Last edited by martindwilson; 09-18-2008 at 08:23 PM.

  3. #3
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255
    thats great.
    i would like a bit of vba for same if possible.
    thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Last business day of month function +1,2,3,4 business days
    By dstock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2008, 06:08 PM
  2. Payments on second Tuesday of every month
    By Lecxe Pleh in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-18-2008, 02:31 AM
  3. Replies: 8
    Last Post: 11-17-2007, 12:09 PM
  4. TEXT and MONTH Functions
    By aikorei in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2007, 03:14 PM
  5. Trying to return month for pivot table
    By facmess1 in forum Excel General
    Replies: 5
    Last Post: 12-06-2006, 02:55 PM

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