Word macro based on following text

Discussion in 'Microsoft Access Macros' started by Sena, May 6, 2010.

  1. Sena

    Sena Guest

    Hi,

    I need to call a date convert macro from Word. I have the macro which
    can covert the date from one format to another but every time need to
    run the macro.

    Let me put that as an example.

    Last Due Date : 40170 - this is relative date. I have macro to
    convert this.

    as soon as i type the macro behind the number, it should convert it.

    Last Due Date : 40170=cdate ---should call the macro and next
    moment macro does

    Last Due Date : 40170=23-12-2009

    issue here, how can activate the macro :)

    thank you very much for your help.

    regards,
    Dwija
     
    Sena, May 6, 2010
    #1
    1. Advertisements

  2. Dwija,

    The focus of this newsgroup is macros in Access, the database programme.
    You will have a better chance of getting a good answer to your question if
    you re-post to a Word newsgroup.

    --
    Steve Schapel, Microsoft Access MVP


    "Sena" <> wrote in message
    news:...
    > Hi,
    >
    > I need to call a date convert macro from Word. I have the macro which
    > can covert the date from one format to another but every time need to
    > run the macro.
    >
    > Let me put that as an example.
    >
    > Last Due Date : 40170 - this is relative date. I have macro to
    > convert this.
    >
    > as soon as i type the macro behind the number, it should convert it.
    >
    > Last Due Date : 40170=cdate ---should call the macro and next
    > moment macro does
    >
    > Last Due Date : 40170=23-12-2009
    >
    > issue here, how can activate the macro :)
    >
    > thank you very much for your help.
    >
    > regards,
    > Dwija
     
    Steve Schapel, May 6, 2010
    #2
    1. Advertisements

  3. Sena

    KARL DEWEY Guest

    Is this a Word or Access question?

    If it Access why not use this --
    CVDate("40170")
    or
    CVDate([YourField])

    --
    Build a little, test a little.


    "Sena" wrote:

    > Hi,
    >
    > I need to call a date convert macro from Word. I have the macro which
    > can covert the date from one format to another but every time need to
    > run the macro.
    >
    > Let me put that as an example.
    >
    > Last Due Date : 40170 - this is relative date. I have macro to
    > convert this.
    >
    > as soon as i type the macro behind the number, it should convert it.
    >
    > Last Due Date : 40170=cdate ---should call the macro and next
    > moment macro does
    >
    > Last Due Date : 40170=23-12-2009
    >
    > issue here, how can activate the macro :)
    >
    > thank you very much for your help.
    >
    > regards,
    > Dwija
    > .
    >
     
    KARL DEWEY, May 6, 2010
    #3
  4. Sena

    Dwijadas Guest

    On May 7, 3:45 am, KARL DEWEY <>
    wrote:
    > Is this a Word or Access question?
    >
    > If it Access why not use this --
    >     CVDate("40170")
    > or
    >     CVDate([YourField])
    >
    > --
    > Build a little, test a little.
    >
    >
    >
    > "Sena" wrote:
    > > Hi,

    >
    > > I need to call a date convert macro from Word. I have the macro which
    > > can covert the date from one format to another but every time need to
    > > run the macro.

    >
    > > Let me put that as an example.

    >
    > > Last Due    Date  : 40170   - this is relative date. I have macro to
    > > convert this.

    >
    > > as soon as i type the macro behind the number, it should convert it.

    >
    > > Last Due    Date  : 40170=cdate ---should call the macro and next
    > > moment macro does

    >
    > > Last Due    Date  : 40170=23-12-2009

    >
    > > issue here, how can activate the macro :)

    >
    > > thank you very much for your help.

    >
    > > regards,
    > > Dwija
    > > .



    Opps, I did posted in wrong group. this is a word macro.

    Thank you.
     
    Dwijadas, May 7, 2010
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ken Snell

    Re: Macro - Can a macro be stopped based on user input?

    Ken Snell, Jul 16, 2003, in forum: Microsoft Access Macros
    Replies:
    0
    Views:
    713
    Ken Snell
    Jul 16, 2003
  2. Alison

    Macro - Can a macro be stopped based on user input?

    Alison, Jul 17, 2003, in forum: Microsoft Access Macros
    Replies:
    1
    Views:
    706
    Ken Snell
    Jul 18, 2003
  3. FlipCoin

    Is it possible to do the following....

    FlipCoin, Mar 5, 2008, in forum: Microsoft Access Macros
    Replies:
    1
    Views:
    182
    Jeff Boyce
    Mar 6, 2008
  4. DBM
    Replies:
    1
    Views:
    387
    Steve Schapel
    Nov 11, 2009
  5. Dave
    Replies:
    1
    Views:
    345
    KARL DEWEY
    Nov 20, 2009
Loading...

Share This Page