Results 1 to 3 of 3
  1. #1
    udhaya_k is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    2

    Environ function macro builder

    Hello,



    I want to use Environ function in macro builder instead code builder to avoid being disabled by trust center (not sure my assumption is right) in a username password form on load as below.
    Added 'If" action then used "Environ("computername")="PC8"".

    But when I submit the form it shows "The expression you entered has a function name that Microsoft Access can't find.". So how to use Environ function in macro builder?

    Udhaya_k

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    AFAIK, can't. Only in VBA. Macro can call a VBA function.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    udhaya_k is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    2
    June7,
    It seems I am unlucky. Anyhow thanks for trying to support me.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Using the SendKeys action in a Macro
    By john134 in forum Programming
    Replies: 5
    Last Post: 05-27-2014, 01:54 PM
  2. SetValue Macro action
    By rkalapura in forum Programming
    Replies: 3
    Last Post: 12-19-2011, 11:54 AM
  3. PrintOut Macro Action
    By EHittner in forum Access
    Replies: 1
    Last Post: 09-22-2011, 01:27 AM
  4. Macro Action
    By Bakar in forum Forms
    Replies: 1
    Last Post: 01-05-2011, 12:38 PM
  5. Problem with Environ function in 2003 SP3
    By wgreynol in forum Programming
    Replies: 2
    Last Post: 10-21-2010, 11:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums