ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   prevent pasting into multiple lines (https://www.excelbanter.com/excel-programming/317762-prevent-pasting-into-multiple-lines.html)

Bart van den Burg

prevent pasting into multiple lines
 
Hi

I have a sheet with a macro on it, which dynamically hides and shows
specific rows.
However, when, say, for example, all lines except 173 and 285 ar hidden, and
the user wishes to copy a row to those rows, and thus selects them both, and
presses ctrl-v, all the lines in between will be pasted to as well... Is
there any way to prevent this with an onCopy event or something like that?

Thx
Bart



Don Guillett[_4_]

prevent pasting into multiple lines
 
Look in HELP for SPECIALCELLS

--
Don Guillett
SalesAid Software

"Bart van den Burg" wrote in message
...
Hi

I have a sheet with a macro on it, which dynamically hides and shows
specific rows.
However, when, say, for example, all lines except 173 and 285 ar hidden,

and
the user wishes to copy a row to those rows, and thus selects them both,

and
presses ctrl-v, all the lines in between will be pasted to as well... Is
there any way to prevent this with an onCopy event or something like that?

Thx
Bart






All times are GMT +1. The time now is 03:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com