partha.raha
New Member
- Joined
- Sep 30, 2008
- Messages
- 19
Hi
I am trying to use a macro to automate the use of alt key.
my code looks like this-->
Private Sub CommandButton1_Click()
For i = 0 To 10
Range("A" & i).Value = ActiveSheet.SendKeys("%" & i)
Next i
End Sub
This code is to enter the value of ALT+1...ALT+10 to column A
Plz help..
I am trying to use a macro to automate the use of alt key.
my code looks like this-->
Private Sub CommandButton1_Click()
For i = 0 To 10
Range("A" & i).Value = ActiveSheet.SendKeys("%" & i)
Next i
End Sub
This code is to enter the value of ALT+1...ALT+10 to column A
Plz help..