Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    USA
    Posts
    386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Automating Excel (Access 2003)

    I have the following set of statements in a loop that increments lRows.
    I need to be able to have the Formula1:=
    Richard

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Automating Excel (Access 2003)

    Try

    wkstemp.Cells(lRows, lColumns + 1).FormatConditions.Add Type:=xlCellValue, Operator:=xlGreater, Formula1:="=$K" & lRows

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    USA
    Posts
    386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Automating Excel (Access 2003)

    That worked. I had to add the $ back to make the Formula1:="$K$" & lRows.

    Thanks Hans
    Richard

Posting Permissions

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