Vb form command button to sendkeys?

Answer To send CRTL X you should change it toSendKeys.Send("^x")You are sending ctrl + { the way you have it currently.

Top Q&A For: Vb form command button to sendkeys

VB Excel form has no minimize or maximize button, only has close button?

Forms in MS-Excel are not as sophisticated as they are in MS-Access, which is a much more friendly development environment.You will need to add a several lines of code to get this type of functiona... Read More »

Where is the command button on an iMac keyboard?

The command key on an Apple iMac keyboard performs the same function as the Windows key and the CTRL key on a Windows keyboard. It can be found directly either side of the space bar.References:Appl... Read More »

How do I create a command button in Microsoft Excel?

Open ExcelOpen Excel. Click "All Programs," "Microsoft Office" and "Microsoft Office Excel 2007."Create the Command ButtonClick "Developer" tab. Select and click "Insert" in the Control Group and t... Read More »

Excel UserForm Command Button Code needed please?

Private Sub CommandButton1_Click()ActiveSheet.Range("H5").Value = _ActiveSheet.Range("P8").ValueEnd Sub