+ Reply to Thread
Results 1 to 3 of 3

Thread: VBA automatically change text format into general format?

  1. #1
    Nicawette
    Guest

    VBA automatically change text format into general format?

    Hi,

    I've a macro which can copy cell(s) containing formula in text format
    into other cell(s).
    I want to activate these formulas automatically when they are in the
    destination cell. For the time being I have to go in each cell and
    activate the formula by hitting enter. Is it possible to do it
    automatically, something that I can add at the end of my macro ?

    Thank you

    Nic.


  2. #2
    Die_Another_Day
    Guest

    Re: VBA automatically change text format into general format?

    Try setting the formula of the destination cells to the text of the
    host cells like this:

    Range("A1").Formula = Range("A2").Text

    HTH

    Die_Another_Day

    Nicawette wrote:
    > Hi,
    >
    > I've a macro which can copy cell(s) containing formula in text format
    > into other cell(s).
    > I want to activate these formulas automatically when they are in the
    > destination cell. For the time being I have to go in each cell and
    > activate the formula by hitting enter. Is it possible to do it
    > automatically, something that I can add at the end of my macro ?
    >
    > Thank you
    >
    > Nic.



  3. #3
    Nicawette
    Guest

    Re: VBA automatically change text format into general format?

    Hi thank you
    so simple and it works, cool

    Die_Another_Day wrote:
    > Try setting the formula of the destination cells to the text of the
    > host cells like this:
    >
    > Range("A1").Formula = Range("A2").Text
    >
    > HTH
    >
    > Die_Another_Day
    >
    > Nicawette wrote:
    > > Hi,
    > >
    > > I've a macro which can copy cell(s) containing formula in text format
    > > into other cell(s).
    > > I want to activate these formulas automatically when they are in the
    > > destination cell. For the time being I have to go in each cell and
    > > activate the formula by hitting enter. Is it possible to do it
    > > automatically, something that I can add at the end of my macro ?
    > >
    > > Thank you
    > >
    > > Nic.



+ 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.2.0