Posts by Chino21

    Re: Timed textbox refresh


    Quote from cytop;752544

    I cannot answer, I avoid shared workbooks like the plague so cannot comment on what code may. or may not, do in that situation.


    ah ok no worries, thanks for the reply. i'll try to figure it out. Or if somebody might also help me out i'll appreciate it.

    Re: Timed textbox refresh


    Quote from cytop;752349

    What's to refresh? A textbox just sits there until you do something unless it is linked to a cell/other data that's updated somehow. You need to give a little more detail.


    Thank you for the reply cytop,


    There will be two foms frmmain and frmmemo. In frmmemo im planning to add a button(cmdsave) and a textbox(txtmemo). So what will happen is when you type a word in txtmessage let's say "Hello" this message will be saved in cell A6. Now with frmmain there will be a textbox(txtalert), this textbox will show the message saved in cell A6. The worksheet will be shared, so technically what im trying to figure out is since I can modify what is the message in A6 thru frmmemo, is there a way like putting a timer in txtalert so that it will refresh it self and read A6 lets say every 2 mins so that making sure that what ever memo in A6 will show up.

    Hi guys,


    Is this possible? What i'm tying to figure out is there a way to automatically refresh a textbox(textbox1) every 2 mins. then show the value in A6. It's somewhat like a timer.


    Looking forward for your kind help.

    Re: Adding x days to date


    Quote from Luke M;748329

    Using the default names for the items in your user form, code would be like:



    Luke thank you for the reply.. I have already found my way and to tell you honestly we almost have the same code. Again Thank you sooooooooooooooooooooooooooooooooooooo much. Your a STAR!!!



    Please consider this thread SOLVED.

    Hi guys,
    Hope you can help me out. I have a form with a combobox and two textboxes. Combobox shows 4 selections (First, Second, Third, Final), Textbox1 shows a date. What im trying to figure out is if I select First, Textbox2 will show date from Textbox1. If I select Second Textbox2 will show date from Textbox1 + 30 days. Textbox2 if Third will be Textbox1+90 days then Textbox2 if Final will be Textbox1+ 365 days (1 whole year).


    Hope this is not too much to ask.

    Hi guys,


    Im having trouble figuring this out. I have 2 comboboxes and 7 textboxes. What it does combobox1(cboagent) will show all the names (Range B)which is already filtered in sheet "Report". Once a name is selected combobox2(cbodatadate) will show all the dates (Range C) that corresponds to the name selected. What im having trouble is how will I transfer the data from the cell to my textboxes.


    Let me give an example just to make it clear:


    Combo1 Combo2
    Mike - 04/12/2013
    - 05/15/2013
    - 02/15/2014 <-- lets say I select this
    - 03/15/2015



    textbox1 = cell C, textbox2 = cell D, textbox3 = cell E, textbox4 = cell F,
    textbox5 = cell G, textbox6 = cell H, textbox7 = cell I



    Now if in case I change the date textboxes value will also change.


    Really having trouble with this. Hope somebody can help me out



    I've used this formula to filter the name and dates (myData):

    Code
    =OFFSET('Report'!$B$2,0,0,COUNTA('Report'!$B:$B),1)



    frmcoaching:


    I hope somebody help me,


    Sheet Name: Record
    Comboboxes: Combo1, Combo2



    This is where I need help, in Combo1 this should show filtered names from range B, if I selected a name in Combo1, Combo will list all dates (Range C) for the said name.


    For example:


    Kenny White 01/01/2013
    Jenny Brown 01/03/2013
    Mike House 02/10/2013
    Kenny White 02/11/2013
    Kenny White 03/21/2014
    Michelle Miles 04/12/2014
    Kenny White 04/17/2014
    Kenny White 05/01/2015
    Michelle Miles 05/12/2014
    Kenny White 05/20/2015



    Combo1: Kenny White


    Combo2: 01/01/2013
    02/11/2013
    03/21/2014
    04/17/2014
    05/01/2015
    05/20/2015


    Hope somebody can help me out.


    More power

    Hi guys,
    Hope you can help me out, I have a login password here that I need to put a privilege. Workbook (login) holds the data. Column A holds the user name, Column B will be the password and Column C should hold the provilege (Admin, Manager, HR, SUP, QA).


    Admin privilege frmmain should show without limit. (frmmain.show)


    Manager: frmmain.admin.Enabled = False


    HR: frmmain.cmdadmin.Enabled = False
    frmmain.cmdcoaching.Enabled = False
    frmmain.cmdescal.Enabled = False
    frmmain.cmdreport.Enabled = False
    frmmain.cmdgraph.Enabled = False


    SUP: frmmain.cmdadmin.Enabled = False
    frmmain.cmdreport.Enabled = False
    frmmain.cmdgraph.Enabled = False


    QA: frmmain.cmdadmin.Enabled = False
    frmmain.cmdcoaching.Enabled = False
    frmmain.cmdescal.Enabled = False
    frmmain.cmdtwin.Enabled = False



    Currentlly here is my code:



    I hope somebody can help me out.

    Re: Listview error handler if onclick is null or empty


    Quote from Halvar;744819

    Chino, can you be more specific as to is "an error message that looks like nothing happened"?


    If you just want for literally nothing to happen, add the following to your code (NOTE: it will mask all the errors in your code, meaning any error of any kind - not just when the user clicks where she's not supposed to):



    Thank you for the reply Halvar, actually i've already tried that code ti is still giving me the same error (Run-time error '91' Object variable or With block variable not set)

    Hi guys,


    Again i might need your help... Is there anyway that I can put an error handler for my listview that if the area user click is empty it will show an error message or something that looks like nothing happened. The reason is that im receiving an error message everytime a user accidentally or purposely click the area where there are no data showing. Here is my code:



    The program is working bu this is the only thing that im having trouble with. Hope you can help me out.


    More power...

    Re: 3 comboboxes problem


    Quote from Chino21;744797

    Hi guys,
    Need some help here. i am having some trouble with the idea on how to create 3 comboboxes. I dont have any trouble creating two comboboxes but im stuck with the third one. This is how it goes.... combo2 value will depend on combo1 value and combo3 value will depend on combo2 value. Or is there anyway that the values for the comboboxes can be pulled from range.


    Hope somebody can jump start my brain.


    More power.



    Already find my way....

    Hi guys,
    Need some help here. i am having some trouble with the idea on how to create 3 comboboxes. I dont have any trouble creating two comboboxes but im stuck with the third one. This is how it goes.... combo2 value will depend on combo1 value and combo3 value will depend on combo2 value. Or is there anyway that the values for the comboboxes can be pulled from range.


    Hope somebody can jump start my brain.


    More power.

    Re: Filtering Listview with combobox value


    Quote from cytop;742767

    Which is it? ListView or ListBox ...?


    The code is for a ListView, your commentary says ListBox. They're different thingd.


    Regardless, neither has a 'Filter' function. You'll have to clear and reload with the relevant records each time the filter expression changes.


    Oh Im sorry my bad... I was googling when I created the post.. its for a Listview (Listview1)..
    What im looking for is for example in combobox I selected Paul, listview will only show Paul, its like filtering the Listview depending on the combobox selection.

    Hi guys,
    I hope somebody can help me out. I have a Listbox(Listbox1) and a combobox (cmbname), the names are in sheet (Login). Can you please help me out to filter the Listbox that if I choose a name, Listbox will only show the name and details for the said selection. BTW, Listbox is getting its information from sheet(Report).


    Thank you in advance guys for the help...


    Below is my code for the list view


    Hi guys,


    I m having some trouble what am I missing or managing my codes. Here is some of my troubles:


    1. Form should check is checkbox Invalid Escalation is TRUE. If Invalid Escalation is TRUE form will be asking for an ID number and password; if Invalid Escalation is FALSE information will still be saved, ID number and password will be disabled and will be bypassed. Information will be saved to worksheet Report.
    2. Worksheet report and UserPassword will always be hidden
    3. Excel needs to auto save.
    -------------------------------------------
    PS:


    Im not sure if this is possible, is there anyway that the infomation can be printed (hard copy) with a certain template?


    Ex:



    Date: 03/02/2015


    This is to certify that (Name) was coached (Date). Coaching session for account (Account Number) for (Call Type).
    (Name) was able to (Resolution). Call was (Root cause) with (Root cause2) with (Behavior). (Feedback and Coaching points)


    Coached by: SUP/SME at (STATION)
    --------------------------------------------------



    Attached is a copy. Please check.


    Your kindness and help is needed.
    Chino

    Hi guys,


    Can somebody help me, Im trying to figure out how to print information that I saved with a certain temple.


    ex: (what you see in the spreadsheet)
    ......A....B....C......D
    1 Name ID Code Date
    2 Chino 12 123 03/04/2015


    Now I have txtname, txtid, txtcode, txtdate


    What I want to figure out is how to print these information with a certain template. like:



    This is to certify that Chino with an ID number 12
    is requesting for the code 123 dated 03/04/2015.
    Blah blah blah blah blah blah blah blah



    Chino
    Signature Needed



    Is this even possible? Is there a code for this?


    Hope somebody can help me.


    More power,
    Chino

    Re: Showing data when button Generate is clicked


    Quote from trunten;615510

    Just needed to make both your forms not modal and also set the text of the memo window which you weren't currently doing.
    Also added the enter key behvaiour (it's a property of the text box which you set)


    hth


    trunten,
    Thanks for the quick reply ya helped me alot and it all makes sense.... BTW just a follow up if it is not too much to ask... i have radio buttons (OptYes and OptNo) how can i include this that the clicked button will be included in the frmmemo. It should show up like ex: Order Valid: Yes. Here is my code BTW...



    Code
    Private Sub cmdgenerate_Click()
        frmmemo.Show
        frmmemo.setText txtname, txtaddress, txtphonenumber, _
                txtdatereceived, txtordernumber, txtsubmittedby, txtcomment
    End Sub


    Looking forward for the reply and help.


    God Bless

    Re: sum across tabs


    Hi nicktr,


    Hope you can attach the file that you are working at so that we can work on it.


    We will be waiting for your reply.


    Have a great day,
    Chino