+ Reply to Thread
Results 1 to 6 of 6

MsgBox does not display on OneDrive instance

  1. #1
    Registered User
    Join Date
    04-28-2021
    Location
    Australia
    MS-Off Ver
    18.2008.12711.0
    Posts
    3

    MsgBox does not display on OneDrive instance

    Hello there!

    I added a function where a "Congratulations" message displays when one of our team members achieves a desired result. This works fine on the excel application but does not work on the OneDrive instance.

    Would anyone be able to give me guidance on how to get a pop up message on the OneDrive instance?

    Thank you in advance!

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: MsgBox does not display on OneDrive instance

    Welcome to the forum!

    I don't know what a OneDrive instance is. Macro code stored in a workbook would work fine when played from the OneDrive location. The usual caveats exists. User has to have macro security set to allow macros...

  3. #3
    Registered User
    Join Date
    04-28-2021
    Location
    Australia
    MS-Off Ver
    18.2008.12711.0
    Posts
    3

    Re: MsgBox does not display on OneDrive instance

    Thanks!

    Pretty much just a version of the excel spreadsheet that is in a shared One Drive folder. Is there a way to enable macro security on OneDrive?

    Edit 1: This is on the OneDrive web version*
    Last edited by LilDrake; 04-28-2021 at 01:39 AM.

  4. #4
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: MsgBox does not display on OneDrive instance

    Each user has to set in their Excel Application. File > Options > Trust Center > Trust Center Settings > Macro Settings. You would likely want them to also check the box for VBA too.

  5. #5
    Registered User
    Join Date
    04-28-2021
    Location
    Australia
    MS-Off Ver
    18.2008.12711.0
    Posts
    3

    Re: MsgBox does not display on OneDrive instance

    Does this work for OneDrive view aswell?

  6. #6
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,984

    Re: MsgBox does not display on OneDrive instance

    If by "OneDrive web version" you mean Excel Online, then VBA is not supported.
    The only functionality here would be with OfficeScript, but I don't think this supports events, or the Excel Javascript API.

+ 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. [SOLVED] Saving a file to onedrive shared network and access via onedrive online
    By Sintek in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-09-2021, 11:56 AM
  2. Save to OneDrive and Upload from OneDrive Link
    By GOrtega in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2020, 08:35 PM
  3. [SOLVED] Display MsgBox only for those with error
    By jhuang5132 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-15-2014, 05:53 PM
  4. macro to display a msgbox
    By sanyaa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-17-2014, 02:16 AM
  5. [SOLVED] Display first instance of number on alt worksheet
    By dgits in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2012, 07:00 AM
  6. MsgBox in new instance of Excel?
    By JeffK627 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-02-2005, 04:05 PM
  7. MsgBox Display
    By Michael S. in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2005, 06:05 PM

Tags for this Thread

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