+ Reply to Thread
Results 1 to 3 of 3

Marco date/text

  1. #1
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Marco date/text

    Hello,

    I need to add text + day in a cell and being able to keep on editing the cell.

    for example: If I am in the cell A3 I would like to run a macro and have in this cell with the following tag: "GG: 11/01" (the 11/01 is dd/mm) and then being still able to add text ("GG: 11/01" blablabla)


    Thanks,
    Graig

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Marco date/text

    Why not do that in 2 cells? Have your text in 1 cell, and in the next, combine that with your date?
    Something like
    A1=your entered text blabla
    B1="GG : text(today(),"dd/m")&" "&A1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Marco date/text

    Thanks Ford!! I did not do it in 2 cells as it regards follow up on projects.

    In the same cell I put:
    "GG: 07/01 We face a problem with the application.
    GG: 11/01 A technician has fixed application and the print function.
    GG: 13/01 The report issue is fixed."

    So in above example, I would run the macro 3 times. (the macro would only add the atg and date: "GG: 07/01" + "GG: 11/01" + "GG: 13/01"

    I really do not know if this is possible! Any help would be really appreciate.

    thansk,
    Graig

+ 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. Marco/VBA to remove and replace group of text
    By nsarzyn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2015, 09:34 AM
  2. How to spilt a marco enabled text into differnet cell?
    By jcsean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2014, 01:17 PM
  3. How to create a Marco to run same Marco run on everysheet.
    By chriskingkiller in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-09-2013, 02:53 AM
  4. [SOLVED] Marco that check date and look up column
    By imag1ne in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2013, 03:17 AM
  5. Marco to pull data from workbook by searching for date
    By batchy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2011, 04:51 AM
  6. Autorun marco based on date
    By azgarrett in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2007, 02:01 PM
  7. [SOLVED] Marco Entry with Text
    By Nicole in forum Excel General
    Replies: 0
    Last Post: 09-19-2005, 03: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