| {\rtf1\ansi\ansicpg1252\deff0\deflang1044{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 Set the form's KeyPreview property to true. In the form's KeyPress event handler, check for the carriage return. If you get one, use SendKeys to generate a TAB instead. Set KeyAscii to 0 so the carriage return is discarded \par \par Private Sub Form_KeyPress(KeyAscii As Integer) \par If KeyAscii = 13 Then \par SendKeys "\{TAB\}" \par KeyAscii = 0 \par End If \par End Sub \par } |
Make Return Act Like Tab |
India web developer web development India | India web development company India ecommerce web developer