Posts by MickG

    Re: Duplication Help!!


    Try this:-


    Regards Mick

    Re: Aligning 5 rows in Column B with 24 rows in Column A


    To run code try this:-
    To Save and Run Code:-
    Copy code from Thread
    In Your Data sheet , Click "Alt+F11",:- Vb Window appears.
    From the VBWindow Toolbar, Click "Insert" ,"Module":- New VBwindow appears .
    Paste Code into this window.
    Close Vbwindow.



    On sheet Click "Developer tab", Click "Macro". Macro dialog box appears.
    Select Macro (with same name) from List.
    On the right of Dialog box Click "Run"
    The Sheet should now be updated.
    Regrds Mick

    Re: Aligning 5 rows in Column B with 24 rows in Column A


    Try this:-

    Re: Area_Rectange


    Try:-

    Code
    Public Function Area_rectangle(length As Double, breadth As Double) As Double
        Area_rectangle = length * breadth
    End Function

    Re: Get column name of a cell


    Perhaps this:-
    Data sheet1, Results sheet2

    Re: Colour only alphabets if a cell contains alphanumeric values.


    Try this for single cell selection.

    Code
    Dim n As Integer
    Dim Num As Integer
    If selection.Count = 1 Then
    For n = 1 To Len(selection)
        Num = Asc(selection.Characters(n, 1).Text)
        If Num >= 65 And Num <= 92 Or Num >= 97 And Num <= 122 Then
            selection.Characters(n, 1).Font.ColorIndex = 3
        End If
    Next n
    End If

    Re: Adding Numbered Patterns vertically


    When I run the code on your most recent file those Rows that you refere to (9,13,15,17,19,20,23,27,28,30, ) are returned Blank !!!!
    Does your most recent file, show in column "H", the answer that you want, or that you don't want.
    If the Latter please show your Expected correct result.

    Re: Adding Numbered Patterns vertically


    Try this, results in column "H" of "Count vertical.xlsx"


    Regards Mick

    Re: compare sheets b/w 1 &amp; 2 &amp; Move (matching) original &amp; duplicate entire rows to sh


    Try this:-

    Re: Finding the difference in different versions of a timetable


    Try this:-
    Data Sheet 1, Results sheet 2.

    Re: unique value 3 columns combined &amp; sum


    Try this:-
    NB:- As there are no Serial Numbers , I've added them after the Sort.

    Re: unique value 3 columns combined &amp; sum


    Try this:-
    Results "Sheet1"
    Unless I've got it wrong, (Quite possible)your Data does not match your Results


    Regards Mick

    Re: Redim Array size


    You need to change the Column index to row index and then Transpose the Final Array, as below:-
    NB:- You can only increase the Column value in the "Redim Preserve" Statement.


    Regards Mick