+ Reply to Thread
Results 1 to 2 of 2

Converting numeric data into 0 in spreadsheet

Hybrid View

  1. #1
    Registered User
    Join Date
    05-26-2006
    Posts
    3

    Smile Converting numeric data into 0 in spreadsheet

    Hi

    I am working on a excel spreadsheet. It contains text dat and numeric data. what I am looking for is that I need to convert that numeric data into 0. I mean there are cells which contains values like 234, 22, 12 etc and they blank cells in between them. So is there a way by writing a command or Macro to convert that numeric data to 0, ie each field must contain a value 0
    .
    Thank you very much in advance
    Deepak

  2. #2
    Tom Ogilvy
    Guest

    RE: Converting numeric data into 0 in spreadsheet

    selection.SpecialCells(xlConstants,xlTextValues).Value = 0

    possibly.

    --
    Regards,
    Tom Ogilvy


    "deepakgoyal" wrote:

    >
    > Hi
    >
    > I am working on a excel spreadsheet. It contains text dat and numeric
    > data. what I am looking for is that I need to convert that numeric data
    > into 0. I mean there are cells which contains values like 234, 22, 12
    > etc and they blank cells in between them. So is there a way by writing
    > a command or Macro to convert that numeric data to 0, ie each field
    > must contain a value 0
    > .
    > Thank you very much in advance
    > Deepak
    >
    >
    > --
    > deepakgoyal
    > ------------------------------------------------------------------------
    > deepakgoyal's Profile: http://www.excelforum.com/member.php...o&userid=34839
    > View this thread: http://www.excelforum.com/showthread...hreadid=545850
    >
    >


+ 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