+ Reply to Thread
Results 1 to 25 of 25

the textbox's value and the excel cell's value summation

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    the textbox's value and the excel cell's value summation

    Hi all,
    I'm trying to make a stock software with VBA. But I have a problem.
    I need to show the available amount on the sheet1 in the excel file. For this, in the userform1, according to material's name ( Combobox1), the amount (T3 textbox value) sum with E column related row.
    Exactly, I write a formula but it is wrong. However, to explain what I mean, I copy the formula following;

    Please Login or Register  to view this content.
    Note: sayfa1 = sheet1

    Thank you...
    Last edited by zbor; 06-21-2013 at 05:35 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: the textbox's value and the excel cell's value summation

    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.

    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

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    May be this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    Sorry zbor not refreshed the screen

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: the textbox's value and the excel cell's value summation

    There were code tags before refreshing?

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    Ah! I am not talking about that I said not seen your post

  7. #7
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    Hi all,
    I'm trying to make a stock software with VBA. But I have a problem.
    I need to show the available amount on the sheet1 in the excel file. For this, in the userform1, according to material's name ( Combobox1), the amount (T3 textbox value) sum with E column related row.
    Exactly, I write a formula but it is wrong. However, to explain what I mean, I copy the formula following;

    Please Login or Register  to view this content.
    Note: sayfa1 = sheet1

    Sorry....

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: the textbox's value and the excel cell's value summation

    bskaa, you could just edit first post (I did that now for you).
    Check Sixthsense's solution it's restored now.

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: the textbox's value and the excel cell's value summation

    Quote Originally Posted by :) Sixthsense :) View Post
    Ah! I am not talking about that I said not seen your post
    I still don't understand why would someone answer in thread that is against rules anyway?!?!

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    One error in my suggested code in post #3

    Replace
    Please Login or Register  to view this content.
    With
    Please Login or Register  to view this content.

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    Quote Originally Posted by zbor View Post
    I still don't understand why would someone answer in thread that is against rules anyway?!?!
    In fact it's not happening knowingly... Because we have to check the Thread Name and any Mod/Adm req and OP's Requirement and side by side updates on other posts so moving between threads and one is like formula solution and one is like code solution. Again resuming the code and pressing F5 to refresh the screen and doing the Office Work. Don't know what to say more than this

  12. #12
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    Hi, I forget to loud excel file. How can I loud the file? I couldn't do it.

  13. #13
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    I did it. sorry again.
    Attached Files Attached Files

  14. #14
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: the textbox's value and the excel cell's value summation

    Quote Originally Posted by :) Sixthsense :) View Post
    .... Again resuming the code and pressing F5 to refresh the screen and doing the Office Work. Don't know what to say more than this
    and yr boss says "my employees use their time 100% ...." )
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  15. #15
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    Hi Sixthsence, I changed the code as you write above. But it doesn't run. I sent the file. Could you look at VBA codes?
    Thank you?

  16. #16
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: the textbox's value and the excel cell's value summation

    Quote Originally Posted by john55 View Post
    and yr boss says "my employees use their time 100% ...." )

    And that's a true you_should_give_100_at_work_tee-r6eb4fba580aa4dcbbac15840778ca3f5_804gs_512.jpg

  17. #17
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    May be try this one....

    Please Login or Register  to view this content.

  18. #18
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    Quote Originally Posted by john55 View Post
    and yr boss says "my employees use their time 100% ...." )
    ha ha ha lol

  19. #19
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    Quote Originally Posted by zbor View Post
    And that's a true
    In fact there is no such practices are followed here... If you do your work in an hour or for a whole day that is not an issue you will be paid only same amount. No boosting up actions they will take... just do the allotted work and move away to your home...

  20. #20
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    hata1.jpgIt doesn't.

  21. #21
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    Add a dot(.) before the word cells and check

  22. #22
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It still doesn't run.

  23. #23
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: the textbox's value and the excel cell's value summation

    It should be COUNT lol

  24. #24
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    ok. Thank you very much...

  25. #25
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: the textbox's value and the excel cell's value summation

    Hi,
    the codes which you sent are run. However I want a relation between incoming form and outgoing form.
    For example;
    Material name is "Ampul". 10 Ampuls are came in our stock, in same day, 5 ampuls are get out from the stock. I need to see that the available amount (sheet1, column E) is 5. But I couldn't. What should the code? Could you help me?
    Thank you...stok durumu2x (2).xlsm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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