+ Reply to Thread
Results 1 to 4 of 4

Userform is on server - Calculation works on my computer but not on my colleagues computer

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    Cape Town, South Africa
    MS-Off Ver
    Office 2013
    Posts
    2

    Post Userform is on server - Calculation works on my computer but not on my colleagues computer

    Hi. I have been struggling to understand why calculations in my userform (a quotation document, I've saved on the server) work perfectly when I do the quote on my computer but give an error on my colleagues computer. She doesn't have any issues opening the userform or selecting the drop down combo boxes to choose the relevant item on the quotation form but as soon as she inserts the required information (her name) into the text box for which I've written some code to automatically calculate the totals for each item, the sub total amount, vat amount and gross amount. The runtime error she gets indicates that the calculations are okay until the final calculation of subtotal + vat amount = grand total.

    Following is the code which I've used to provide the calculation of all the text box values to get a subtotal:

    Please Login or Register  to view this content.

    Following is the code I've used to add the 15% vat amount to the subtotal to get the grand total:


    Please Login or Register  to view this content.
    Many thanks!
    Last edited by Cindib; 05-18-2018 at 05:25 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform is on server - Calculation works on my computer but not on my colleagues comp

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    If posting code please use code tags, see here.

  3. #3
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,173

    Re: Userform is on server - Calculation works on my computer but not on my colleagues comp

    you have no field called: subtotal + vat amount ....
    did you try putting a STOP on the line and see what the values are?

    if all these text boxes are in the form , there should be no errors no matter who runs it.

  4. #4
    Registered User
    Join Date
    05-25-2016
    Location
    Cape Town, South Africa
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Userform is on server - Calculation works on my computer but not on my colleagues comp

    Thanks so much for your feedback. Although everything worked okay on my computer, I thought that I had missed something, hence the reason for it not working on my colleagues computer. Took your advice and then decided to generate a quote on a couple of other computers in the company and the userform calculations were perfect... now to find out why the computer in question is a problem. thanks again.

+ 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. Other Computer waits until the first computer open the file close it.
    By atzdgreat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-04-2017, 05:42 AM
  2. Userform works on my computer, but no one elses, and I can't figure out why....
    By lordterrin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2014, 11:26 AM
  3. VLookup works in my computer, but not in another user computer.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2013, 04:41 PM
  4. Replies: 6
    Last Post: 06-28-2013, 08:44 PM
  5. Userform works only in Local Computer.
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2011, 12:23 PM
  6. Excel on another computer cannot connect to DDE C# Server
    By kittyprogrammer in forum Excel General
    Replies: 1
    Last Post: 10-17-2009, 12:38 AM
  7. Auto Filter on my home computer differs from my work computer.
    By Sbova0226 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-08-2009, 03:04 PM

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