0
I’m developing a script in VBA, in Excel. This code will populate another program, using the data collected in the cells. But cells that contain some word that has accents, are not working.
I am using the Application.SendKeys
as, in the section below, to fill the other program
Sub teste()
'(...)
For i=2 to ultimaLinha
'parte que simula o clique no mouse
Application.SendKeys (Plan2.Cells(i,"D").Value)
'restante do código
Next
'(...)
End Sub
If in this cell (i,"D") there is a word that does not contain accentuation, everything will be fine. But if it has accent, it is not "typed"
For example: if the cell is written 'José Mauricio', it will be typed only Jos Mauricio And it needs to be sent exactly as it is contained in the cell, because the program will receive this information in a listbox and, because of the validation of data listbox has, she wouldn’t accept it if it was typed Jose Mauricio in place of José Mauricio, because it doesn’t exist on the list
How would I get the seats sent?