Worksheet Functions not Supported by Application Object, VBA Mod is not the same as Excel Mod

kb article 107564 states that VBA Mod function is the same as excel Mod funciton.
and as a result of this the Excel Mod function is not available in VBA.
The vba help provides examples and specificaly states that the mod is rounded to an integer:
Dim MyResult
MyResult = 10 Mod 5 ' Returns 0.
MyResult = 10 Mod 3 ' Returns 1.
MyResult = 12 Mod 4.3 ' Returns 0.
MyResult = 12.6 Mod 5 ' Returns 3.
However using excel Mod(x,y) function: these results occur:
Mod(10,5) = 0
Mod(10,3) = 1
Mod(12,4.3) = 3.4
Mod(12.6,5) = 2.6
This is from Excel 2010.
How can we get the Application to use the Excel Worksheet function?

Roll your own:
Sub TestMacro()
    '12.3 Mod 3.4 should return 2.1
    MsgBox WSMod(12.3, 3.4)
End Sub
Function WSMod(dN As Double, dD As Double) As Double
    WSMod = (dN / dD - Int(dN / dD)) * dD
End Function

Similar Messages

  • Can not assign MI application to a second user on the same device.

    System: SAP ERP 2004 SP20
    Mobile Infrastructure 2.5 SP20
    Prior to SP20 upgrade, we were able to assign MI application to multiple users to a same device but now we can not assign MI application to the second user.  In the NetWeaver WebConsole the status shown for the second user is "Deployment Activated " no matter how many times we sync.  However, the first user is working just fine. 
    We have been using MI for over a year and we never incountered anything like this.  I wonder if the SP20 causes this problem.
    Any ideas? or suggestions?
    Thanks in advance.
    Dai

    Hi Dai
        This problem has already been resolved.  Please implement the following note in the MI Server and then synchronize the client <b><i>1081782</i> Applications or patches are not downloaded to the client</b>.
    Hope this helps.
    Best Regards
    Sivakumar

  • R9 290 Gaming - MSIGamingApp: The platform does not support this application

    Hey guys,
    I have a MSI R9 290X Gaming 8G and can´t use the gaming app.
    Whenever I try to run the app, I get an error: The platform does not support this application
    So I guess I have the same problem as the dude in that thread:
    https://forum-en.msi.com/index.php?topic=179659.0
    He had the same issue with the R9 290X Gaming 4G. The problem was, someone flashed a sapphire vbios on his new card.
    So can someone check the attached vbios rom, whether it is the right one for my card and not also a sapphire rom or something else?
    Thanks and regards.

    I seem to have the same problem using the Live Update App itself. My card is MSI R9 270X Gaming and I use Windows 8.1 64bit.
    S/N: 602-V303-03SB1311026767

  • The platform does not support this application, but does under other account

    Okay the MSI Gaming App works just fine under my own account on my PC on which I am the administrator. So it isn't a driver related issue.
    Last week I created a second account for my son as he also like to play some games but I dont want him messing up my account.
    I wanted to start the MSI Gaming App on his account as my son was going to play a more graphic demanding game but the MSI Gaming App is only giving me the warning: the platform does not support this application.
    I checked the Security and Permissions for Authentication they all set like they should which works fine for other software and applications.
    Even when I try to run the app as administrator it keeps coming back with this warning.
    Anyone got clue why? Maybe I'm overlooking something obvious but till now I still didn't get the MSI Gaming App to run like it should. Some help please.

    Quote from: JLio01 on 11-December-14, 14:49:39
    1. What's your App version?
    2. What's the mobo/vga/specs of your son's pc?
    First of all thanks for the replies and future replies.
    1.
    Version 1.0.0.18
    2.
    My sons has his own profile/account on my pc so the hardware config and installed drivers are exact the same. And on my profile the App is working fine. So it has nothing to do with mobo/drivers/vga/specs. I already had installed the App before I created his own profile. As administrator I added all the needed permissions to the MSIGamingApp Properties Security Tab. Like I did with all other software he is running on his profile and which are working just fine. For example Teamspeak, Mumble, Several games, MSOffice and so on. I even set the Permissions to Full Control like on my Administrator profile. At the Permission Entry for MSIGamingApp I let the permissions be inherited from the parent object my administrator profile.
    If I would re-install and if during the installation windows would ask for whom the software should be accessible. I only would let Windows do exact the same as I did as administrator in the App Properties Security Tab. That the nice thing about being an admin. Create profile, set permissions and let users on your pc or network access software and applications already installed on the network. So that is why I find it weird this doesnt work.
    Also running the MSIGamingApp as Administrator on his profile gives the exact same warning.
    I do know how to add permissions to the security tab have been doing that several years for some job I had once.
    I could use Afterburner maybe but I don't trust him yet with making changes in Afterburner.
    The MSIGamingApp gives just enough controls OC-Gaming-Silent mode.
    And in case of trying a re-install of the App anyone got an url for a new version?
    Might have found it but it isn't on any MSI webpage.
    I did found something on Guru3D but I'm not aloud to post external links.
    Did found a url linking to a Torrent side but my Bullguard AV blocked this site instantly.
    So a clean url would be nice so to say.
    So weird I cant find this software on http://nl.msi.com/search/MSIGamingApp/product/1 or any other MSI site

  • I can't install my old logic 8 on my new macbook pro. It says it does not support powerpc applications anymore. what do i need to do?? this is ridiculous!!!

    I can't install my old logic 8 on my new macbook pro. It says it does not support powerpc applications anymore. what do i need to do?? this is ridiculous!!!

    Logic 8 will probably run on your new machine but the installation program contains some older PPC code for pre Intel Macs. This was not a problem as all OSX versions contained the "Rosetta" PPC emulation, that is, up until Lion when all PPC emulation was dropped.
    There are ways to do this however, try searching Google for:  Installing Logic 8 under Lion or Mountain Lion.

  • The requested action is not supported for this object. [message 131-171]

    Hi,
    One user is having the below error message appear when she attempts to print remittances. This has only started happening since yesterday and all other documents are still printing.
    "The requested action is not supported for this object. [message 131-171]"
    Any ideas what could be the problem?
    Regards,
    Mohan

    Hi Johnson,
    I have not tried your suggestion till now as I am waiting for the database copy from my client.
    Just a quick question, As I already mentioned earlier and I also keep getting the issues from the users reporting that the user's get this error only if they print 'remittance advise reports' has multiple invoices.
    The report prints fine if it has single invoice even if it is a check payment.
    Will your suggestions address this as well?
    Regards,
    Mohan

  • [290x] MSI Gaming App error "The platform does not support this application."

    Using the latest AMD Omega drivers, I am unable to launch the Gaming App and am presented with this error -  "The platform does not support this application."
    I have tried downloading Gaming APP 3.0.0.16.zip from another post on the topic but I am receiving the same error. The only other thing I've seen as a 'solution' is to install the drivers from the MSI support page for my card - however this is version 14.4 and is over 3 months old, I don't really think that's a viable solution.
    Any ideas?
    Thanks!

    Quote from: JLio01 on 07-January-15, 11:55:18
    Is your vga driver 14.12? Any other settings changed?
    Do you have any other msi or vga software installed?
    Can you do a fresh re-install OS and what's the language of your OS?
    Yes, Catalyst Omega. No other software or hardware changes.
    Yes MSI Afterburner. Have tried uninstalling and installing gaming app, have also not had it running when trying to launch MSI Gaming app. No joy there.
    No I can't, that's not really an option for a piece of software like this which worked before but doesn't since the latest AMD driver updates.
    Quote from: JLio01 on 07-January-15, 16:07:38
    Since your motherboard is not the supported gaming series mobos, there might be something detected wrong with your card. The error message shown if neither motherboard nor vga is supported in Gaming App. I suggest use AMD Catalyst Clean Uninstall Utility to totally uninstall the current driver:
    http://www.techspot.com/drivers/driver/file/information/16748/
    and re-install the latest driver 14.12. I have no problem using Gaming App 3.0.0.16 with my R9 290X, hope you too.
    I have never seen anything stating that you need a supported gaming series motherboard to use the MSI Gaming App - maybe for other features if it has any, but the gaming app I used when I got my card was a little box with a few options for the GPU on it. Tried uninstalling and reinstalling the driver already unfortunately, using both AMD CCUU and a second attempt with DDU. No change at all, the exact same error message.
    But as I've said, the fact that there is more than one person reporting this and older drivers make the gaming app work, it's definitely a software ended problem on certain configurations. I have installed driver 14.4 now and can once again use the gaming app, just as someone with a different card and different motherboard has stated in another thread. xxhttps://forum-en.msi.com/index.php?topic=251885.0xx this solution however is not really acceptable.

  • MSI-Z77-G43A Live Update 6.0.021 The platform does not support this application

    When trying to run Live Update 6.0.021 on MSI-Z77-G43A got message The platform does not support this application
    OS Win 7 64

    the more recent versions of live update have been buggy!
    your not alone with this behaviour as alot of people have the same issue and it looks like a glitch with the program itself! it may be updated again just to fix the issue when MSI get to a solution!

  • Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why do i need to do some settings for it ?

    Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why? do i need to do some pre defined  settings to run the cd's and dvd's ?

    A .exe file is a Windows executable. OS X does not run Windows programs. If you need to use .exe files then you will need to install Windows on your Mac:
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • When i open itunes it gives me the option to download the new version 10.3. my computer will not support 10.3. i can't by pass the download to continue with my current version of itunes. i've trashed and reinstalled 8.2.1 twice. any solutions?

    When i open itunes it gives me the option to download the new version 10.3. my computer will not support 10.3. i can't by pass the download to continue with my current version of itunes. i've trashed and reinstalled 8.2.1 twice. any solutions?

    I am in the same boat. I tried repeatedly to contact iTunes support, but was told each time that I had contacted the wrong deaprtment and they could not help me. There must be a way to still be able to use the iTunes store without paying for a system update. If not, I hope they will reimburse me the money I have in my acount.

  • [svn:fx-trunk] 12077: Although Spark RichText does not support link formats , modifying compiled FXG to not generate ActionScript code that will cause compile time exceptions .

    Revision: 12077
    Revision: 12077
    Author:   [email protected]
    Date:     2009-11-20 18:16:32 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Although Spark RichText does not support link formats, modifying compiled FXG to not generate ActionScript code that will cause compile time exceptions.
    Removing references to Flex Builder 3 in RPC.
    QE notes: N/A
    Doc notes: N/A
    Bugs:
    SDK-24305 - Link format property nodes cause errors on RichText in FXG 2.0
    SDK-24322 - A couple references to Flex Builder 3 in Flex 4 LangRef (and code comments)
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24305
        http://bugs.adobe.com/jira/browse/SDK-24322
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java

  • HT1454 I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem

    I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem
    i am getting the same error with my rf transmitter that i use in my car

    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Did this start happening after an iOS update? Sometimes an iOS update will break compatibility.
    Sometimes this works:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • I keep getting a pop up dialogue box telling me the URL is not supported and that it can't connect to the server, even though I am able to surf the net

    I keep getting a pop up dialogue box telling me the URL is not supported and that it can't connect to the server, even though I am able to surf the net

    Are you using OS X Server here, or is this a connection with some other server?  If this is OS X Server, what version is running?
    Please post a screen shot of the dialog box, and an example of a URL that's failing.  (You can use ⌘⬆4 (command shift 4) to activate the screen capture mechanism, and the camera icon here to upload the image.  Please make sure you don't include any sensitive information in what you're uploading.)

  • This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK.

    Hello,
    I'm not Able to post Application with Xcode 4.6.2, while uploading it is giving me error "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK", Pls advice me what SDK it'll work with?
    Thanks in advance

    Hello Michael, today I received this error when submiting ios app to store using Application Loader. The message is "This bundle is invalid. Apple is not currently accepting applications built with this version of the Xcode". My Xcode version is "Version 5.0.2 (5A3005)", I don't know what to do now, I also uninstalled Xcode and reinstall again but no luck. Any advice?

  • My iPhone says "iTunes not supported in this country. I live in the USA. How do I fix this???

    Ever since I downloaded the iOS 7, I have not been able to get into the iTunes Store on my phone. I have not tried to on my iPad 2 yet. Every time I go I the iTunes app it says "ITunes not supported in this country." I live in the USA and have never been outside of it with this phone. Please help. I am VERY frustrated.

    Are you visiting a different country? Is your credit card or adobe ID registered to a different country?

Maybe you are looking for