i am looking to copy data from Reflections workspace using VBA. i want to copy data on a page and paste into excel. i have done a macro in refelections to get the correct areas to select and copy. i then want to paste the data into excel go back to reflections and copy the next page and paste into excel (not overiding previous data). the below will copy current text on screen then Y to next screen.
'Select and copy text from the screen
osCurrentScreen.SelectText 9, 1, 22, 77, RegionOption_Wrapped
' Press EditCopy (Copy the selection and put it on the Clipboard).
osCurrentScreen.copy
osCurrentScreen.SendKeys "y"
'Wait for a string on the host screen before continuing
' returnValue = osCurrentScreen.WaitForString3(ESC & "[63C", NEVER_TIME_OUT, WaitForOption.WaitForOption_AllowKeystrokes)
' End If
Exit Sub
'Select and copy text from the screen
osCurrentScreen.SelectText 9, 1, 22, 77, RegionOption_Wrapped
' Press EditCopy (Copy the selection and put it on the Clipboard).
osCurrentScreen.copy
osCurrentScreen.SendKeys "y"
'Wait for a string on the host screen before continuing
' returnValue = osCurrentScreen.WaitForString3(ESC & "[63C", NEVER_TIME_OUT, WaitForOption.WaitForOption_AllowKeystrokes)
' End If
Exit Sub