Hi,
I would like to find some assistance on creating a macro that performs multiple tasks, generally I just record what I'm doing but for this project it changes weekly.
Here is the variables I'm working with.
Row F=Pay codes
Row G= Hours
Row H=Rate
Row I=Gross
If any Travel Payment code have 0 hours or 0 gross or a rate that does not equal 400 then it is an error.
If any RET codes do not have 22 under Rate then it is an error
If any REG codes have 1 hour then it is an error
If any OVT codes have 1 hour that fall on a weekend then it is an error
If any codes have "no work" then it is an error
If any errors are generated from these variables, I would like to copy and paste onto a new sheet.
Is it possible to design a macro to this this?
I tried the below code as a test for the first variable but got a debug error
Please Login or Register to view this content.
Bookmarks