Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Posts
    254
    Thanks
    0
    Thanked 0 Times in 0 Posts

    renaming macro (Access 2000)

    How can i rename the macro called Autoexecmacro into a macro called NewName?
    It seems that my syntax is not in order.My syntax is :
    DoCmd.Rename , NewName, acMacro, autoexecmacro

    Can i have help?

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: renaming macro (Access 2000)

    You have to put the names, if they are not variables, into quotes.

    DoCmd.Rename , "NewName", acMacro, "autoexecmacro"
    Francois

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: renaming macro (Access 2000)

    Ah Francois,

    You beat me this time!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •