+ Reply to Thread
Results 1 to 47 of 47

Printranges according to textbox and checkbox.

  1. #1
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Printranges according to textbox and checkbox.

    What i need is:

    I have 10 Textbox's (for now) and 10 checkbox's.

    If some value is in textbox1, then checkbox 1 is check up.
    Textbox2 not empty, then checkbox2 = true
    etcetc
    In some case i will pre define some textbox's value according to 1 cell. But others, i need to open userform and put manually the textbox's values, and the checkbox's need to get true value.

    According to checkbox's selection, export all print ranges, each checkbox has a defined range.

    I attach a workbook, although is may have some errors, i can't evolve...
    Hope someone can help me out.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    Hi,brainzlp

    try this
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    ignore this message, use file in attach. and check comment below.
    Attached Files Attached Files
    Last edited by brainzlp; 12-20-2015 at 06:35 PM.

  4. #4
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello simcode, thanks in advance for your help and attention.
    About the workbook it's in a good way, although i have some concerns for what a saw.
    - No pdf was exported, saved or opened.
    - I need the textbox's values in the sheet "SECÇÕES PASSAGEM" , i mean... put the value of textbox1, in the 1st field open, then textbox2, etc etc.
    - According to select cases, i need to input values in some textbox's , is it possible, where can i put it?
    - According to 1 cell value, if "ADMIN" open the form to make manual changes, else just execute the default printranges defined in the early select cases.

    Hope you can help me out, it's really important
    Check file in attach

  5. #5
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    The textbox values inserted according to select cases are some standard ones, although they need to reflect on checkbox's as well.


    P.S. I Don't need to have the checkbox's there, if it's easier for you to define the printranges according to textbox values it's fine for me.

    I had the checkbox's cuz before this i had the print ranges according to them, but we can do all the analisys with the textbox, and by that simplify the code.

    I just need to put some default textbox values according to cells, (with select case) - just need to know where can i put this. (In the Userform_Initialize it works.... at least tested with textbox1.value = "1º" and it puts in checkbox1.value = true)

    And according to 1 cell value (if admin, open userform to enter manually some sections, else just consider the select case default and don't open userform, just execute it in background)
    i shall put this analisys in:
    Please Login or Register  to view this content.
    And after that export printranges for NOT EMPTY textbox and give a message about section printed (this the in only option that may require probably checkbox, so you can get the .caption)
    Whatever you say it's fine, just really need this working soon, unfortunatly i can't make it myself :/

    Thanks for your help once again
    Last edited by brainzlp; 12-20-2015 at 07:25 PM.

  6. #6
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    First off, I'll say sorry for my bad English.
    I know, you need INPUT & OUTPUT from the userform. You can find samples from sub FormShow in workbook I submitted.
    Input code
    Please Login or Register  to view this content.
    Output
    Please Login or Register  to view this content.
    It's just an example. You can modify it if necessary.

  7. #7
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello, i understand perfectly your english.

    I already saw that examples, although i need all values, even if empty, save as empty.

    - No pdf was exported, saved or opened.
    - I need the textbox's values in the sheet "SECÇÕES PASSAGEM" , i mean... put the value of textbox1, in the 1st field open, then textbox2, etc etc.
    - According to select cases, i need to input values in some textbox's , is it possible, where can i put it?
    - According to 1 cell value, if "ADMIN" open the form to make manual changes, else just execute the default printranges defined in the early select cases.

    Can you please help me out with the this issues on top?
    The workbook sent is not taking me the PDF, nor the message etc .

  8. #8
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    It's midnight in china, i'll reply tomorrow

  9. #9
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Ok simcode, thanks for your help. Hopefully you can help me out with that issues.
    It's really urgent and important for my work.

    See you tomorrow

  10. #10
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello Mr Simcode,

    About this 4 things:
    1- No pdf was exported, saved or opened.
    2- I need the textbox's values in the sheet "SECÇÕES PASSAGEM" , i mean... put the value of textbox1, in the 1st field open, then textbox2, etc etc.
    3- According to select cases, i need to input values in some textbox's , is it possible, where can i put it?
    4- According to 1 cell value, if "ADMIN" open the form to make manual changes, else just execute the default printranges defined in the early select cases.

    The number 3, i was going to put it in the userform_initialize, although don't know if it's the best option.
    Waiting forward for your reply about this 4 issues as soon as you can.

    Thanks again for your precious help

  11. #11
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    It seem like the order in sheet "SECÇÕES PASSAGEM" is different from the userform.
    For the Input & Output, the sub ShowForm has explained it.
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello simcode,

    I Know it's different, but that's not a problem. it will be equal.
    How can i remove the "test" from textbox1 and "abc" from textbox3? can't find where to remove it..

    Already tested the showform but still still not exporting open neither export according to checkbox's for what i can see.
    Can you check what's happening i can't find the problem...

    About the point 3 and 4 , how can i do it?
    3- According to select cases, i need to input values in some textbox's , is it possible, where can i put it? (userform_initialize?), the print range needs to be export after the initialize.

    4- According to 1 cell value (WORKSHEETS("FOLHA2").RANGE("A1"), if "ADMIN" open the TEXTBOX/CHECKBOX form to make manual changes, else just execute the form but doesn't show, run in background.

    Thanks for all your help
    Last edited by brainzlp; 12-22-2015 at 09:36 AM.

  13. #13
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    Point 3
    I have explained it in Sub ShowForm in module "ImprimirPdf"
    Point 4
    If the form doesn't show, why did you need it "run in background", passing the data to the sub needed directly.

  14. #14
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    Quote Originally Posted by simcode View Post
    Point 3
    I have explained it in Sub ShowForm in module "ImprimirPdf"
    Point 4
    If the form doesn't show, why did you need it "run in background", passing the data to the sub needed directly.
    Quote Originally Posted by simcode View Post
    Point 3
    I have explained it in Sub ShowForm in module "ImprimirPdf"
    Point 4
    If the form doesn't show, why did you need it "run in background", passing the data to the sub needed directly.
    I need the file to export to pdf according to checkboxs selected which isnt doing. (really important)

    About point 3, what i need is to write in textbox values once showform is executed, i must do this in userform initialize and should work.

    About point 4, i need to run on background so other users dont change checkboxs values and print the orders wrong. Only admin has privileges to change and then confirm/validate the rest is standard and defined in point 3.

    Hope to hear from you asap

  15. #15
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    If someone can help me exporting to pdf according to values in checkboxs i would appreciate. I need to have this soon and no clue on how to do it

  16. #16
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Simcode do you know how to export printranges according to checkboxs?

  17. #17
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    I'll have a try if you can supply sufficent data in your book.

  18. #18
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Quote Originally Posted by simcode View Post
    I'll have a try if you can supply sufficent data in your book.
    What data do you need more?

    Please Login or Register  to view this content.
    Consider those ranges according to checkbox's numbers.

    For the message do be displayed:
    Please Login or Register  to view this content.
    You have all this information in the module imprimirPDF

    If anything more you need, let me know, i really need this with urgency please

  19. #19
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    Hope this file is your desired.
    Attached Files Attached Files

  20. #20
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    I have to sleep. see u.

  21. #21
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Thanks for your help.

    Although its not like that that we were looking for..

    1) It's not always 75 rows, it can be different, that's why we should define for each checkbox 1 range, cuz it will change..
    2)Then i need after pdf exportation, to show in message which checkbox's were printed, (show checkbox's caption) like i had earlier, the code i sent you.

    3)Can you please remove in the code what's not being used as well?

    4) And also tell me other thing: you have as default, textbox1.value = "test" , textbox3.value = "abc" , and checkbox7.value = true , where is that, how can i remove it?

    Please answer me all questions, Thanks again

  22. #22
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    Textbox values can be input in sub FormShow
    Please Login or Register  to view this content.
    Attached Files Attached Files

  23. #23
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello,

    It seems to be good.

    Only missing point 2) , 3)

    2)Then i need after pdf exportation, to show in message which checkbox's were printed, (show checkbox's caption) like i had earlier, the code i sent you.
    (according to checkbox's selected captions)

    3)Can you please remove in the code what's not being used as well?
    I mean.. your develop a code, but the older things are there and don't seem to be used.

    Other thing:
    Shouldn't i put this?
    Please Login or Register  to view this content.
    You can check here my old code that worked great with the checkbox analysis and define ranges according to them
    Please Login or Register  to view this content.
    Can you put like that? which has the range separatly defined for each checkbox, has the message and on error kill path for not having bugs.

    Hope you can help on this project

  24. #24
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    If possible do as my older if you know how to, cuz it adjusts as printranges.

    Sorry for my persistance although it's my need, thankfully you can do the same.

    If you can't do the same as the older one, try to help me in the point 2 and 3 in the above message
    Last edited by brainzlp; 12-24-2015 at 08:57 AM.

  25. #25
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    OK,OK brainzlp
    Hope you could like your Christmas' gift
    Attached Files Attached Files

  26. #26
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello mr simcode, thanks for your XMAS gift it's seems to be what i expect.

    Just wanted to ask you 1 thing that isn't equal as my older one.

    In the message box, instead of appear:
    FLEXOGRAFIA , LAMINAGEM , ETC ETC

    PUT:
    FLEXOGRAFIA

    LAMINAGEM

    ETC

    ETC

    What i mean is that each checkbox is 1 line, with 1 in end.

    Something like this probably.. although isn't working at least on me.
    Please Login or Register  to view this content.
    Thanks again, and if possible just let me know how can i put this

  27. #27
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    I tried to put this:
    Please Login or Register  to view this content.
    In the userform_initialize, cuz i need that if "ADMIN" open it and then close when use the confirm button.
    IF ELSE
    Userform open but validate without any changes, if possible with displayevents false, i mean... without showing the form, just show the message.

    I tried in SUB showform as well but can't put what i want. If possible let me know how can i do this

    Thanks again and sorry to bother you.

  28. #28
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    I'm not clearly about what r u going to do, what result do you want. I've write several examples in the workbook.
    Try it.
    Attached Files Attached Files

  29. #29
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Quote Originally Posted by simcode View Post
    I'm not clearly about what r u going to do, what result do you want. I've write several examples in the workbook.
    Try it.
    Its almost there

    Why do you put 3 showforms? "Showform" , "showform1" , "showform2"



    In the msgbox displaying checkbox's caption, can you put all line to left? (the checkbox's caption are starting with a TAB and then caption) - if any question let me know so i can explain better.

    For my issue with "ADMIN" and "ELSE"
    I noticed that Showform and showform1 open and the showform2 open and close.

    I need to have something similiar according to a cell, but if possible same showform.
    I will try to explain better.

    This form needs will have textbox's values according to cell values ( i will put this in userform initialize).

    Although if the cell a1 in sheet "ORDEM TRABALHO ENVELOPES" is different than "ADMIN" the userform must open, then click automaticly in button "Confirmar" (green one) and without even appear the userform, i mean, it's running in background, probably using displayevents = false will do the job, let me know.


    If it is ADMIN in that cell, than open the userform only, then the user will edit the textbox's mannually and click manually in "confirmar" button.
    If else, open in background and Confirm, printing the default ranges i put in userform_initialize and showing message.

    Thanks again for your fantastic help, it's just this small things and i'm done :D

  30. #30
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    I've said, they are examples, SHOWFORM, SHOWFORM1 & SHOWFORM2 are examples, it seemd that u haven't noticed it, as u always did.

    A minor change in code can fulfil the task on your msgbox, I think u can do it by youself.

    Showform2 is same with your so called "open in background and confirm", don't you think so?

  31. #31
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    Quote Originally Posted by simcode View Post
    I've said, they are examples, SHOWFORM, SHOWFORM1 & SHOWFORM2 are examples, it seemd that u haven't noticed it, as u always did.

    A minor change in code can fulfil the task on your msgbox, I think u can do it by youself.

    Showform2 is same with your so called "open in background and confirm", don't you think so?
    Ok i didnt notice the difference why is it opening in background so i cam put this only with one userform according to cell.

    About the vbtab i took it out but the messages still the same. I will have a closer look.

    Thanks for all the help you gave me. It was precious

    P.S. I will put all this codes in my master files, do the necessary changes and see if everything is fine.

    Thanks once again
    Last edited by brainzlp; 12-26-2015 at 06:09 AM.

  32. #32
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Quote Originally Posted by simcode View Post
    I've said, they are examples, SHOWFORM, SHOWFORM1 & SHOWFORM2 are examples, it seemd that u haven't noticed it, as u always did.

    A minor change in code can fulfil the task on your msgbox, I think u can do it by youself.

    Showform2 is same with your so called "open in background and confirm", don't you think so?
    Hello simcode,

    I'm testing the code and i understand it perfect, i just have a question on this:
    Please Login or Register  to view this content.
    Why is the number "7"?

    Other question, i need to add more checkbox's in the future, i have added the textbox12 and checkbox12, and edit the defined print ranges, but it doesn't recognize the textbox, seems like it doesn't even LOCK it, check in button 2 in the 1st sheet.

    Please let me know what do i need to change for each new checkbox and why is the number 7 in that code.

    Check file attached
    Attached Files Attached Files
    Last edited by brainzlp; 12-27-2015 at 08:32 AM.

  33. #33
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    Number "7", It can be ignored
    replace that part of code with
    Please Login or Register  to view this content.
    textbox12 and checkbox12 not working, check Initialize of userform, there must be a loop from 1 to 11, change 11 to 12, it will work.

  34. #34
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    Quote Originally Posted by simcode View Post
    Number "7", It can be ignored
    replace that part of code with
    Please Login or Register  to view this content.
    textbox12 and checkbox12 not working, check Initialize of userform, there must be a loop from 1 to 11, change 11 to 12, it will work.
    Introducing that code with an if is necessary? Isnt doing much sense for me cuz there is no = or test being made.

    About the loop, cant that be automatic using count checkbox or till last checkbox number?

    Get back to me asap

  35. #35
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    if one or some of checkboxes was not selected, corresponding v(i) will be FALSE.
    about the loop, will be tomorrow's topic, for i have to go sleep.

  36. #36
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    Quote Originally Posted by simcode View Post
    if one or some of checkboxes was not selected, corresponding v(i) will be FALSE.
    about the loop, will be tomorrow's topic, for i have to go sleep.
    Ok i will put the code that you said. I am waiting for your help tomorrow about count checkboxs on userform inicialize

  37. #37
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello simcode.

    I've tested the file, but i found some problems :
    Please Login or Register  to view this content.
    This code is giving me error on "Set rng = Union(rng, r(i))"

    As soon as you can, give me a hint on how to solve that, and also the count last checkbox number at Userform_Initialize.

    With that the same variable can be put in code above?
    Please Login or Register  to view this content.
    Thanks for all the help

    Check file in attach
    Attached Files Attached Files

  38. #38
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    Here it is.
    Attached Files Attached Files

  39. #39
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Quote Originally Posted by simcode View Post
    Here it is.
    Hello simcode,

    It works great can you please answer me how does the code works?
    Please Login or Register  to view this content.
    Why counttxtbox +1 , counttxtbox ?

    Thanks for all the help you gave me. It seems to be everything running, will test better tomorrow. Just explain me why sum 1 in counttxtbox as soon as you can

  40. #40
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    It counts the number of TEXTBOX of Controls. If the type of control is TEXTBOX, the number increased 1.
    Mark the thread SOLVED pls.

  41. #41
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Ok, it seems to be working, that's all that matters.

    Thanks for your precious help.

    Have a great new year

  42. #42
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    Hello simcode,

    Can you let me know if there is a easy way to display the msgbox according the values of the textbox instead of the number of the textbox?

    I want the msgbox to display from the smaller to higher value the respetive caption

    If it is difficult just let me know and i will try to do differently...

  43. #43
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    How about make make the captions from smaller to higher according to the number of the textbox? It's the easiest way.

  44. #44
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    See above comment please
    Last edited by brainzlp; 01-06-2016 at 07:55 AM.

  45. #45
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516
    Quote Originally Posted by simcode View Post
    How about make make the captions from smaller to higher according to the number of the textbox? It's the easiest way.
    That was my second option, although by changing that i need to change all my vba code for the standard input values of textbox, which is really hard.

    And there are some cases that the checkboxs cant be lined up, the are like checkbox1 true then 7 then 3 by this order, thats why i would like the message to be different cuz there are different cases according to one cell value

    Let me know if we can do that message display change. (only message) thr rest is the same (the transpose of the textboxs valuea for the other sheet stills the same).

    Thanks once again for your help

  46. #46
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Printranges according to textbox and checkbox.

    For example?
    I'm sorry, I'm not clear about you desire, so upload a book, maybe a picture pls.

  47. #47
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Printranges according to textbox and checkbox.

    What i need is the same workbook.

    But display the msgbox of the textbox's values not empty, by order of value input.

    for example:
    textbox1.value = 1º
    textbox2.value = 3º
    textbox5.value = 2º

    Instead of displaying the msgbox as checkbox1.caption, then 2 then 5.

    Display by number order, which means, Checkbox1.caption, then 5, then 2.

+ 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. Checkbox.check according to textbox value
    By brainzlp in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-19-2015, 08:49 PM
  2. [SOLVED] Checkbox Adding Value To a Textbox
    By saban1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 09:27 AM
  3. [SOLVED] Make certain Textbox negative value based on CheckBox
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2014, 10:51 AM
  4. Recommended Events on Checkbox/TextBox
    By excelenergy in forum Excel General
    Replies: 1
    Last Post: 03-10-2014, 12:12 PM
  5. [SOLVED] textbox and checkbox
    By ngkj in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-12-2012, 04:21 AM
  6. Help with entering data in textbox & checkbox for database
    By RossKennedy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-30-2011, 10:08 AM
  7. Use checkbox to allow textbox input
    By JamesT1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2010, 01:54 AM

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