Sandman1985
New Member
- Joined
- Jun 22, 2022
- Messages
- 19
- Office Version
- 365
- Platform
- Windows
Hi All,
Hope you're all well.
Not sure if what I am trying to do is possible but I have tried and failed.
I have a macro button that pastes values into the active cell. The sheet is write protected and the maco unlocks the sheet to allow the paste. Unfortunately, the action of unlocking clear the copy from the clipboard so the paste doesn't happen. The paste macro works fine without the unlock. Does anyone know a way I can get it to retain on the clipboard? I thought about getting it to recopy, but the paste destination is dynamic and user defined so will have trouble if copy again in the vba.
Any one have a potential solution I could try? Any help appreciated.
Thanks,
Sandman
Hope you're all well.
Not sure if what I am trying to do is possible but I have tried and failed.
I have a macro button that pastes values into the active cell. The sheet is write protected and the maco unlocks the sheet to allow the paste. Unfortunately, the action of unlocking clear the copy from the clipboard so the paste doesn't happen. The paste macro works fine without the unlock. Does anyone know a way I can get it to retain on the clipboard? I thought about getting it to recopy, but the paste destination is dynamic and user defined so will have trouble if copy again in the vba.
Any one have a potential solution I could try? Any help appreciated.
Thanks,
Sandman