+ Reply to Thread
Results 1 to 2 of 2

Number stored as text

  1. #1
    Andrew Clark
    Guest

    Number stored as text

    Hello,

    I have a little VBA app that pulls data from a database. All data is
    brought in correctly, but one column will not format as number, and
    when I save the resulting workbook, I get all those "Number stored as
    text" smart tags. I can't figure out what to put here ("General"
    doesn't seem to work here):

    Columns("D:D").NumberFormat = ?

    to store those numbers as numbers and not text. MSDN has been most
    unhelpful. Any suggestions?

    Thanks,
    Andrew


  2. #2
    Gary''s Student
    Guest

    RE: Number stored as text

    In either VBA or on the worksheet, once the values have been entered, place 1
    in an un-used cell, copy it and paste/special with muliply checked over the
    cells you want to convert to numbers.
    --
    Gary's Student


    "Andrew Clark" wrote:

    > Hello,
    >
    > I have a little VBA app that pulls data from a database. All data is
    > brought in correctly, but one column will not format as number, and
    > when I save the resulting workbook, I get all those "Number stored as
    > text" smart tags. I can't figure out what to put here ("General"
    > doesn't seem to work here):
    >
    > Columns("D:D").NumberFormat = ?
    >
    > to store those numbers as numbers and not text. MSDN has been most
    > unhelpful. Any suggestions?
    >
    > Thanks,
    > Andrew
    >
    >


+ 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