I will try to insert the code here. just a sample
I will try to insert the code here. just a sample
It's not working
I'll try again:
![]()
With [a3:j3].Resize(k) .Value = y .Sort Key1:=.Cells(1, 1), Order1:=xlAscending, _ Key3:=.Cells(1, 2), Order2:=xlAscending, Header:=xlNo, MatchCase:=False End With
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
looks to me like it worked?
FDibbins, no, my code does not appear in the message
I created a new book .xlsm and now try to attach it to the post
It's fantastic, I copy the code from the VBE editor to the message, and add code tags, click "Post Quick Reply" (I've done it hundreds of times!). But now my message just disappears.
Edited:
I'll try to add some other code
![]()
Sub ertert() Dim x, i&, j&, k& x = Range("A1").CurrentRegion.Value For i = 1 To UBound(x) For j = 1 To UBound(x, 2) If x(i, j) = 1 Then k = k + 1 End If Next j Next i End Sub
Last edited by nilem; 08-11-2013 at 12:48 AM.
Yes, the other codes are inserted well.
However code to "Книга1.xlsm" is not inserted in the message
I downloaded the file from the forum and used the OP code (only added a few lines)
Just created a message with the code in another forum thread. And it works.
I do not know, apparently the problem was in the OP file
I should point out this topic as Solved?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks