Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello -
I have restriced inserting and deleting rows on a Worksheet to make users use functionality of a custom toolbar. That way I can make sure that formatting stays consistent. I am now trying to make an undo function after the deletion of a row. Currently I store the .Value and other . entries in global variables but it seems like there should be an esier way. I tried to define a ... Public mRange as Range and then assign ... Set mRange = lSheet.Range(...) .... but when I try to access mRange from within another function, it seems to have lost all the data. How can I create a copy of the range and store it in a variable in order to restore it later on? Thanks, Joe |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Undo "Convert to formulas" pivot function | Excel Discussion (Misc queries) | |||
VBA code store address with areas separated with "," and I need it sometimes with ";" instead | Excel Programming | |||
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" | Excel Programming | |||
changing a SendKeys "(^+{home})" to a function | Excel Programming | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming |