Posts by Maqbool

    Hi Mrgibr:


    Try the following on your sample workbook. If works as expected you can apply it on your original file.



    Regards


    Maqbool

    Hi


    Your column B values stored the time value as text.
    To understand it easily - on next column (E) you try the formula =value(B2) and change the format to number.
    The macro does the same thing. Take the value in the cell and place it back as value. Since your cells are already formatted "Custom" - it does not need further formatting.


    I dont think i understand your second question: If i am not mistaken;


    Code
    .Cells(i, 2).Value = .Cells(i, 2).Value  'column b  
     .Cells(i, 4).Value = .Cells(i, 4).Value  'column d

    Regards Maqbool

    Hi
    If your data is exactly same as on the spreadsheet attached, the following will work.


    Regards


    Maqbool

    Hi


    On BLD, column B looks like in text format. Seems you are exporting the data from somewhere.


    Select the cell (eg B2) then press "F2" and press "Enter". You will notice that the value in B2 will move to the right hand side of the cell. Then try to run the macro. It will work.


    Regards


    Maqbool

    Hi


    Try the following code. This will save all tables as picture (JPG) on a worksheet. You can modify the according to your needs.



    Regards


    Maqbool

    Re: Refreshing tables


    Quote

    The only real solution I've found is to use the ActiveWorkbook.RefreshAll function twice, which isn't speedy or elegant. Whilst I can get by, my I can't help but try and find the proper solution.


    Try the below code:




    Regards


    Maqbool

    Re: Chart with Combobox that updates Data Source


    Hi


    Is it possible to show sample charts? - create it manually - I like to see the expected results when you select " Past week " or month or quarter. If so, post a sample workbook with charts as expected.



    Regards


    Maqbool

    Re: i want to lookup all toyata related data in interface sheet & fill dem in manifes


    Hi


    Try the below array formula: Please make sure all merged columns are un-merged. Otherwise you may need to adjust the last part (COLUMN()-COLUMN($C$23)+1) of the formula manually.


    (I cant upload the workbook from here. Will upload it later today.



    [F]
    =IFERROR(INDEX(Table1[#All],SMALL(IF(Manifest!$F$20=Interface!$F$15:$F$17,ROW(Interface!$F$15:$F$17)),ROW()-ROW($D$23))-12,COLUMN()-COLUMN($C$23)+1),"")
    [/F]


    Regards



    Maqbool

    Re: Create Multiple Shapes in Column A and Add Hyperlink from Range in Column B


    Hi


    Try the following in the sample workbook you attached. You can modify the code as required.



    Regards



    Makbool

    Re: create ledger wise report by vba in excel


    Hi Sachin_P


    Welcome to the forum


    Pretty easy to do with pivot tables. If you like to do it with a pivot please post a sample workbook.



    Regards,


    Makbool

    Re: Finding a DATE in a range of TEXT


    Hi


    I hope the following formula can do this. I am not completely understand your query. Please have a look.


    I can't upload the excel file for some reason today. If you can IM your email id, i can send you the excel file. Otherwise, I will try again tomorrow.


    =IF(AND(WEEKDAY(E9)<>{1,7},MOD(E9,1)>=$H$1,MOD(E9,1)<=$I$1)=TRUE,E9,IF(OR(WEEKDAY(E9)={1,7}),INT(E9)+IF(WEEKDAY(E9)=7,2,1)+$H$1,INT(E9)+$H$1))


    Note: In this formula, I put 09:00 AM in H1 and 06:00 PM in I1.


    The result will be look like the picture.


    Best Regards



    Makbool

    Re: Finding a DATE in a range of TEXT


    Hi tkaz4


    Code
    Welcome to the forum

    .


    I assume you are trying to do look up of your date. Try below


    MATCH(DateValue($C22),$A$5:$A$14,0)


    Otherwise post a sample workbook.



    Regards,



    Makbool

    Re: VBA Find next empty cell in range or named range


    Hi


    I can not upload the sample from my office pc. Following is the code to do the same. I believe you will always have a value in cell A62 (otherwise this will code will not work).



    Regards


    Maqbool