Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Mar 2002
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Enter Formula into sum (VBA Excel)

    I want to place the formula ="" enter blank cells in a range
    For each ocell in rangecodes
    If ocell = "" then
    ocell.value = ??? what do I put here
    end if
    next ocell

    thanks

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Enter Formula into sum (VBA Excel)

    If i understand you, what you are looking for is

    ocell.Formula = "=" & Chr(34) &Chr(34),

    though I cannot really see a point to doing this.

    Andrew C

  3. #3
    2 Star Lounger
    Join Date
    Mar 2002
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Enter Formula into sum (VBA Excel)

    That's what I needed.

    Thanks

Posting Permissions

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