Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The goal is to keep a user from pasting to more than one cell at a time.
This is on the Worksheet_Change of a Sheet: If Target.Cells.Count 1 Then Selection.ClearContents End If I want to put a MsgBox to tell the user why the selection was cleared and they can only paste to one cell at a time. But when I but a MsgBox after the Selection.ClearContents it goes into a loop and the MsgBox will not close. How do I correct this. Thank you for your help. Steven |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need help with Worksheet_Change code | Excel Programming | |||
need help creating a Worksheet_Change code | Excel Worksheet Functions | |||
inserting code into a Worksheet_Change event | Excel Programming | |||
disappearing worksheet_change VBA code - help! | Excel Programming | |||
Worksheet_Change even code will not run | Excel Programming |