VBA code needed

x_ampl1

Board Regular
Joined
Mar 7, 2012
Messages
126
Hi Mr. Excel

sorry for trouples happend to your web site, hope it is fine now...

onw quistion on two parts i need i hope you can help me
first one:
i have sheet HCG: in this i add patient file no, then bottun for positive and other for negative
i need macro code it will copy this file no
go to sheet patient's data filter colum y to get this file no (as this colum contain all patients files#)
it will go to simiiler file then by right arrow key it will type at next cell (same row but colum z) 100 for positive and 0.1 for negative
i did all of there by macro record but filteration of colunm y is not possible at all for that i need your help .....

second one:
at sheet patient's data there is colunm AX, in case any data entered to any cell at column Ax (foe ex: cell AX200 or cell AX12324 or cell AX25), after data entery to any cell it will jump to same row but cell A copy is and go to sheet patient report, at cell a2 paste it there then press enter then print this sheet after will come back to to same perviouse cell at column AX ...

thanks
if you like i can send the file to you it will be more easier


thanks mr. Excel:)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Watch MrExcel Video

Forum statistics

Threads
1,130,307
Messages
5,641,439
Members
417,209
Latest member
Agbarker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top