+ Reply to Thread
Results 1 to 4 of 4

0's to blank cells

  1. #1
    Paul
    Guest

    0's to blank cells

    using VBA is it possible to select a range of cells (e2:g3 - some may contain
    numeric value (no text)), then put a zero into any of the cells that do not
    contain a numeric value.

    help appreciated

  2. #2
    Tom Ogilvy
    Guest

    RE: 0's to blank cells

    On Error Resume Next
    selection.specialcells(xlblanks).value = 0
    On Error goto 0

    --
    Regards,
    Tom Ogilvy


    "Paul" wrote:

    > using VBA is it possible to select a range of cells (e2:g3 - some may contain
    > numeric value (no text)), then put a zero into any of the cells that do not
    > contain a numeric value.
    >
    > help appreciated


  3. #3
    Paul
    Guest

    RE: 0's to blank cells

    worked treat, many thanks

    Paul

    "Tom Ogilvy" wrote:

    > On Error Resume Next
    > selection.specialcells(xlblanks).value = 0
    > On Error goto 0
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "Paul" wrote:
    >
    > > using VBA is it possible to select a range of cells (e2:g3 - some may contain
    > > numeric value (no text)), then put a zero into any of the cells that do not
    > > contain a numeric value.
    > >
    > > help appreciated


  4. #4
    Tom Ogilvy
    Guest

    RE: 0's to blank cells

    On error resume next
    selection.specialcells(xlblanks).value = 0
    On error goto 0

    --
    Regards,
    Tom Ogilvy


    "Paul" wrote:

    > using VBA is it possible to select a range of cells (e2:g3 - some may contain
    > numeric value (no text)), then put a zero into any of the cells that do not
    > contain a numeric value.
    >
    > help appreciated


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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