WRQ Reflection for UNIX nd Digital .transmit question

Verald

New Member
Joined
Oct 16, 2009
Messages
28
Can someone provide some general info or direct me in the right direction to find info about the following:

We are running the following VBA macro running through WRQ

Code:
Sub test()
     With Session
          .Transmit "TEST1"
          .Transmit "TEST2"
          .Transmit "TEST3"
                    
        
     End With
end sub
When stepping through the code, I would expect that TEST1 would be displayed on the terminal after the .Transmit "TEST1", ect. However, nothing is displayed on the terminal until after the sub ends. At that time, the terminal displays TEST1TEST2TEST3.

Can anyone tell me why this happens? Thanks.
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,939
Welcome to the Board!

I have reflections and as I step through the code each one shows up after its respective transmit statement. I have to use .transmitANSI, but after the transmit, it moves the curesor to the end of the line to start the next transmit.

I don't know where you are really going with this or if you are just trying to understand what is happening, but with reflections coding, I always set the cursor position before transmitting and passing values anywhere.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,295
Messages
5,600,789
Members
414,405
Latest member
Zaurb

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top