View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kobus Kobus is offline
external usenet poster
 
Posts: 22
Default VB code for column fill matching weekends

This will be easy for a VB coder: I have a row with calender dates across
about 100 days (cells E:DV). I want the colums representing weekends to be
autofilled and remain unaffected by subsequent conditional formatting (or vb
code). Then (this is the subsequent part) rows below must be filled between
date ranges obtained from cells from columns, say C and D. Columns C being a
start date and D an end date. Note I have used the WORKDAY FUNCTION to
identify weekends through numbers 1 - 7, if that would help)