Hello everyone,
So i'm not quite sure this specific question was answered when I was browsing related questions but...
Often we get an excel sheet with item numbers and their tax codes. I need to go into Rumba and change those items to the new tax codes.
The problem is, this list can get rather large, and inputting them manually can very extremely tedious.
Also note that there will be a group of items with one tax code, then the next group will have a different one.
I wanted to see if there is a way for RUMBA to extract this info from excel, and input it accordingly.
Currently, I just a simple script to change them one at a time.
While I was going to create a rather large script by copying and pasting the same formula to do them all, I was hoping there was another way seeing as there can be hundreds of items at a time.
For example: Item 1234567 is changing to tax code DG.
Sub Main
Dim RetC as Integer
EMConnect "A"
EMWaitX 1, RetC
EMSetCursor 3, 36
EMWaitX 1, RetC
EMSENDKEY "1234567" 'Insert Item Number
EMWaitX 1, RetC
EMSENDKEY "<FIELD_PLUS>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 5, RetC
EMSetCursor 9, 34
EMWaitX 1, RetC
EMSENDKEY "BG" 'Insert Tax Category
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
EMWaitX 1, RetC
EMSENDKEY "<ENTER>"
End Sub
As always, thank you in advance.
#Rumba