Results 1 to 10 of 554

Thread: Tests Copying pasting Cliipboard issues. and otes on API stuff

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Some further tests in support of this Thread: https://excelfox.com/forum/showthrea...lines-by-codes
    this post: https://excelfox.com/forum/showthrea...ll=1#post15539

    Some transpose tests using this test macro

    Code:
    Sub TransposyTests() '  https://excelfox.com/forum/showthread.php/2747-VBA-Macro-which-create-new-lines-by-codes?p=15539&viewfull=1#post15539
    Dim strTst As String
     Let strTst = "068 069"
    Dim arrOutTempC() As String  '
     Let arrOutTempC() = Split(strTst, " ", -1, vbBinaryCompare)
    Dim arrOutTempCT1() As Variant, arrOutTempCT2() As Variant, arrOutTempCT3() As Variant
     Let arrOutTempCT1() = Application.Index(arrOutTempC(), Evaluate("=row(1:" & UBound(arrOutTempC()) + 1 & ")/row(1:" & UBound(arrOutTempC()) + 1 & ")"), Evaluate("=row(1:" & UBound(arrOutTempC()) + 1 & ")"))
     Let arrOutTempCT2() = Application.Transpose(arrOutTempC())
    Dim Cnt: ReDim arrOutTempCT3(1 To 2, 1 To 1)
        For Cnt = 0 To UBound(arrOutTempC())
         Let arrOutTempCT3(Cnt + 1, 1) = arrOutTempC(Cnt)
        Next Cnt
    Stop
    End Sub
    Running that macro then stopping it before it ends, then highlighting the array variables followed by hitting Shift+F9 will reveal the contents in the Watch Window

    http://i.imgur.com/ZZHD5qf.jpg
    Attachment 3575


    At first glance it looks like the transpose is not the problem
    Attached Images Attached Images
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

Similar Threads

  1. Replies: 114
    Last Post: 03-04-2024, 02:39 PM
  2. Replies: 42
    Last Post: 05-29-2023, 01:19 PM
  3. Replies: 11
    Last Post: 10-13-2013, 10:53 PM
  4. Replies: 7
    Last Post: 08-28-2013, 12:57 AM
  5. Declaring API Functions In 64 Bit
    By marreco in forum Excel Help
    Replies: 2
    Last Post: 02-11-2013, 03:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •