coordintor
New Member
- Joined
- Jun 9, 2015
- Messages
- 3
Hello,
I'm a new on forum. I need your help with creating VBA for button which will insert the date in particular cell in a row found by specyfied value)).
To put it simple, below is my tab.
[TABLE="width: 521"]
<tbody>[TR]
[TD][/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD]content[/TD]
[TD]f[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]column1[/TD]
[TD]column2[/TD]
[TD]column3[/TD]
[TD]column4[/TD]
[TD]column5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]b[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]c[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]f[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD]15-06-09[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]g[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]h[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]a[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 521"]
<tbody>[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The logic is follow:
1. The value in D2 is changed
2. By means of button I need to insert and save the actual date in column5(F) if value in colum2(C) equals to D2.
3. If not found - message "not Found"
Thank you in advance for any help.
Please note that I'm not good in VBA
I'm a new on forum. I need your help with creating VBA for button which will insert the date in particular cell in a row found by specyfied value)).
To put it simple, below is my tab.
[TABLE="width: 521"]
<tbody>[TR]
[TD][/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD]content[/TD]
[TD]f[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]column1[/TD]
[TD]column2[/TD]
[TD]column3[/TD]
[TD]column4[/TD]
[TD]column5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]b[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]c[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]f[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD]15-06-09[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]g[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]h[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]xxxx[/TD]
[TD]a[/TD]
[TD]yyyy[/TD]
[TD]zzzz[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 521"]
<tbody>[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The logic is follow:
1. The value in D2 is changed
2. By means of button I need to insert and save the actual date in column5(F) if value in colum2(C) equals to D2.
3. If not found - message "not Found"
Thank you in advance for any help.
Please note that I'm not good in VBA