+ Reply to Thread
Results 1 to 7 of 7

Pull Text Not Formula

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Pull Text Not Formula

    Please Login or Register  to view this content.
    This was working until i used a formula to get the month name that this is pulling from. It shows up on the source workbook as the name of current month. I need the above to just pull the text not the formula.
    Last edited by Jarrettm; 12-12-2014 at 04:38 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Pull Text Not Formula

    That line of code is building a formula then assigning it to a cell. What do you mean by "I need the above to just pull the text not the formula"? Do you want to assign a value to the cell rather than a formula? If that's what you want, the easiest way is to do this. Normally I would say get the data from the source but it's in a different file making that more complicated.
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Re: Pull Text Not Formula

    this is pulling a date code. I am using
    Please Login or Register  to view this content.
    to insert the month name. It works but it just formats the cell to only display the month name. if you know of another way to get the month name without using format it might work.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Pull Text Not Formula

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Pull Text Not Formula

    None of that was evident in your post, and it's a crucial part of your question.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Re: Pull Text Not Formula

    Thank you this works! sorry for the misleading info. I am new to VBA

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Pull Text Not Formula

    Glad it helped! The issue in the description was that the cell has a date value, and you want to extract the month as text. This is different than saying that you want text, not a formula. It has more to do with how Excel works than VBA. Best of luck and we hope to see you back again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to pull #word from a long text string
    By BJhawks20 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-02-2014, 08:46 AM
  2. Formula to pull in Text Value associated with Maximum numeric value
    By Greenbay125 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-02-2014, 02:22 PM
  3. [SOLVED] Formula to pull first word out of string of text
    By kenadams378 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-24-2013, 05:24 AM
  4. Formula to pull text from multiple cells if formula = true
    By bommar2 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-13-2013, 12:16 PM
  5. [SOLVED] What function in a formula will pull the text used in a Tab name?
    By Charles Rodriguez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2005, 01:05 PM

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