+ Reply to Thread
Results 1 to 7 of 7

one line!!!

  1. #1
    John
    Guest

    one line!!!

    what is wrong with this one... noob question

    Sheets("CP").Range("a5") = "=Updated on " & Now

    Thanks for the help

  2. #2
    Paul B
    Guest

    Re: one line!!!

    John, try this,

    Sheets("CP").Range("a5") = "Updated on " & Now


    --
    Paul B
    Always backup your data before trying something new
    Please post any response to the newsgroups so others can benefit from it
    Feedback on answers is always appreciated!
    Using Excel 2002 & 2003

    "John" <[email protected]> wrote in message
    news:[email protected]...
    > what is wrong with this one... noob question
    >
    > Sheets("CP").Range("a5") = "=Updated on " & Now
    >
    > Thanks for the help




  3. #3
    Elkar
    Guest

    RE: one line!!!

    I think the problem is with the = symbol before the word Updated. Excel is
    going to try to evaluate that as a formula. Either remove that = or add an
    apostrophe before it to force Text Formatting.

    HTH,
    Elkar


    "John" wrote:

    > what is wrong with this one... noob question
    >
    > Sheets("CP").Range("a5") = "=Updated on " & Now
    >
    > Thanks for the help


  4. #4
    excelent
    Guest

    RE: one line!!!

    try
    Sheets("CP").Range("a5") = " =Updated on " & Now
    and dont ask :-)



    "John" skrev:

    > what is wrong with this one... noob question
    >
    > Sheets("CP").Range("a5") = "=Updated on " & Now
    >
    > Thanks for the help


  5. #5
    Don Guillett
    Guest

    Re: one line!!!

    for a formula in a5
    >Sheets("CP").Range("a5") = "=Updated on " & Now

    Sheets("CP").Range("a5").formula = "=Updated on " & Now()
    for a value
    Sheets("CP").Range("a5") = "Updated on " & Now

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "John" <[email protected]> wrote in message
    news:[email protected]...
    > what is wrong with this one... noob question
    >
    > Sheets("CP").Range("a5") = "=Updated on " & Now
    >
    > Thanks for the help




  6. #6
    John
    Guest

    Re: one line!!!

    Thank you one and all!

    "Don Guillett" wrote:

    > for a formula in a5
    > >Sheets("CP").Range("a5") = "=Updated on " & Now

    > Sheets("CP").Range("a5").formula = "=Updated on " & Now()
    > for a value
    > Sheets("CP").Range("a5") = "Updated on " & Now
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "John" <[email protected]> wrote in message
    > news:[email protected]...
    > > what is wrong with this one... noob question
    > >
    > > Sheets("CP").Range("a5") = "=Updated on " & Now
    > >
    > > Thanks for the help

    >
    >
    >


  7. #7
    Don Guillett
    Guest

    Re: one line!!!

    glad to help

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "John" <[email protected]> wrote in message
    news:[email protected]...
    > Thank you one and all!
    >
    > "Don Guillett" wrote:
    >
    >> for a formula in a5
    >> >Sheets("CP").Range("a5") = "=Updated on " & Now

    >> Sheets("CP").Range("a5").formula = "=Updated on " & Now()
    >> for a value
    >> Sheets("CP").Range("a5") = "Updated on " & Now
    >>
    >> --
    >> Don Guillett
    >> SalesAid Software
    >> [email protected]
    >> "John" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > what is wrong with this one... noob question
    >> >
    >> > Sheets("CP").Range("a5") = "=Updated on " & Now
    >> >
    >> > Thanks for the help

    >>
    >>
    >>




+ 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