rishilaughs
New Member
- Joined
- Jun 10, 2013
- Messages
- 6
Hi,
i am a newbie to macro and vb programming
i want to implement a small functionality of selecting a cell using buttons in a table
For E.g in a table like this
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Column Button A[/TD]
[TD]Column Button B[/TD]
[TD]Column Button C[/TD]
[/TR]
[TR]
[TD]Row Button A[/TD]
[TD]13[/TD]
[TD]14[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Row Button B[/TD]
[TD]16[/TD]
[TD]17[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]Row Button C[/TD]
[TD]19[/TD]
[TD]20[/TD]
[TD]21[/TD]
[/TR]
</tbody>[/TABLE]
i wish if i click row button b and then click column button c i want value 18 to be selected to be used for further calculation.
I am trying to use worksheet function row, column, match ,index and also using Worksheet_BeforeDoubleClick event but don't seem to be reaching to the desired output.
Any help would be highly appreciated
Thanking in anticipation
Rishi
i am a newbie to macro and vb programming
i want to implement a small functionality of selecting a cell using buttons in a table
For E.g in a table like this
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Column Button A[/TD]
[TD]Column Button B[/TD]
[TD]Column Button C[/TD]
[/TR]
[TR]
[TD]Row Button A[/TD]
[TD]13[/TD]
[TD]14[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Row Button B[/TD]
[TD]16[/TD]
[TD]17[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]Row Button C[/TD]
[TD]19[/TD]
[TD]20[/TD]
[TD]21[/TD]
[/TR]
</tbody>[/TABLE]
i wish if i click row button b and then click column button c i want value 18 to be selected to be used for further calculation.
I am trying to use worksheet function row, column, match ,index and also using Worksheet_BeforeDoubleClick event but don't seem to be reaching to the desired output.
Any help would be highly appreciated
Thanking in anticipation
Rishi