Results 1 to 10 of 570

Thread: Tests Copying, Pasting, API Cliipboard issues. and Rough notes on Advanced 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
    10,457
    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. Some Date Notes and Tests
    By DocAElstein in forum Test Area
    Replies: 5
    Last Post: 03-26-2025, 02:56 AM
  2. Replies: 116
    Last Post: 02-23-2025, 12:13 AM
  3. Replies: 21
    Last Post: 12-15-2024, 07:13 PM
  4. Replies: 42
    Last Post: 05-29-2023, 01:19 PM
  5. Replies: 11
    Last Post: 10-13-2013, 10:53 PM

Posting Permissions

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