Attachmate Extra! Verses Reflection Desktop _ Excel VBA

mchilapur

Board Regular
Joined
Apr 14, 2014
Messages
126
Hello All Excel Experts,
I have developed an Macro in Excel to automate a task in Attachmate Extra.! Since now we are migrating from Attachmate Extra to Refection Desktop (Micro Focus), I tried running the same Excel Based Macro into it to perform the task.
To my bad luck, Excel Macro started sending/pasting values at wrong fields in Reflection Desktop. But when i tested the same code slowly using F8 key, it works perfectly fine.!!
What may the cause of this issue..?

Below is the sample code i used. Like below, i send several data at different co-ordinate places, wait for the cursor to stand at that position and then send the data.
How can i modify Excel based Macro to cope with Reflection and make sure it sends correct data at right places..?

*************************************************
Code:
targetrow = 2
targetcol = 7
Sess0.Screen.moveto targetrow, targetcol
Sess0.Screen.WaitForCursor targetrow, targetcol
Sess0.Screen.SendKeys "7"
 
targetrow = 4
targetcol = 24
Sess0.Screen.moveto targetrow, targetcol
Sess0.Screen.WaitForCursor targetrow, targetcol
Sess0.Screen.SendKeys "We Need it"
 
targetrow = 4
targetcol = 58
Sess0.Screen.moveto targetrow, targetcol
Sess0.Screen.WaitForCursor targetrow, targetcol
Sess0.Screen.SendKeys "Done"
 
Sess0.Screen.SendKeys ("ENTER<enter>")<enter>
*************************************************


Any suggestions will be of great help.
Thanks in advance.</enter></enter>
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hello All Excel Experts,
I have developed an Macro in Excel to automate a task in Attachmate Extra.! Since now we are migrating from Attachmate Extra to Refection Desktop (Micro Focus), I tried running the same Excel Based Macro into it to perform the task.
To my bad luck, Excel Macro started sending/pasting values at wrong fields in Reflection Desktop. But when i tested the same code slowly using F8 key, it works perfectly fine.!!
What may the cause of this issue..?

Below is the sample code i used. Like below, i send several data at different co-ordinate places, wait for the cursor to stand at that position and then send the data.
How can i modify Excel based Macro to cope with Reflection and make sure it sends correct data at right places..?

*************************************************
Code:
targetrow = 2
targetcol = 7
Sess0.Screen.moveto targetrow, targetcol
Sess0.Screen.WaitForCursor targetrow, targetcol
Sess0.Screen.SendKeys "7"
 
targetrow = 4
targetcol = 24
Sess0.Screen.moveto targetrow, targetcol
Sess0.Screen.WaitForCursor targetrow, targetcol
Sess0.Screen.SendKeys "We Need it"
 
targetrow = 4
targetcol = 58
Sess0.Screen.moveto targetrow, targetcol
Sess0.Screen.WaitForCursor targetrow, targetcol
Sess0.Screen.SendKeys "Done"
 
Sess0.Screen.SendKeys ("ENTER<enter>")<enter>
*************************************************


Any suggestions will be of great help.
Thanks in advance.</enter></enter>
Hi Im looking for some help as i to have migrate to reflections and can not get my VBA to run, can you please share the full code so i can get some idea of how you set it to find the sassion please.
 
Upvote 0

Forum statistics

Threads
1,214,667
Messages
6,120,821
Members
448,990
Latest member
rohitsomani

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
Back
Top