thekeymaster
New Member
- Joined
- Mar 20, 2024
- Messages
- 4
- Office Version
- 365
VBA Code:
End If
'DEST CELL IS CELL C4 SO ALL CELLS AFTER THIS ARE OFFSET BY ONE LINE SO REPD IS ONE CELL RIGHT OF DEST CELL C4'
LOC.Copy DestCell
REPD.Copy DestCell.Offset(0, 1)
APP.Copy DestCell.Offset(0, 11)
VIN.Copy DestCell.Offset(0, 2)
VEH.Copy DestCell.Offset(0, 3)
'LOCATION (0,4)(0,5) IS VEHICLE MILEAGE/RUN STATUS'
CTL.Copy DestCell.Offset(0, 6)
LHD.Copy DestCell.Offset(0, 7)
KT.Copy DestCell.Offset(0, 9)
VDR.Copy DestCell.Offset(0, 8)
KC.Copy DestCell.Offset(0, 10)
'LOCATION (0,11) IS KEY DAYS STORED
DTC.Copy DestCell.Offset(0, 12)
CST.Copy DestCell.Offset(0, 14)
BLD.Copy DestCell.Offset(0, 15)
INV.Copy DestCell.Offset(0, 16)
'CLEARS THE CONTENTS OF THE LINES ON THE KIP ONCE TRANSFER IS COMPLETE'
LOC.ClearContents
I'm a little new to vba and I've created this code. My problem is that line APP and line DTC need to send a value and right now they're sending the formula. I've tried pastespecial for value or text but I've only succeeded in generating different variations of errors. I was wondering if anyone might have some suggestion to help me. I'd really appreciate it.