Page 1 of 1

[Solved] Calc Macro to copy & paste cells

Posted: Thu Sep 02, 2010 3:33 am
by boyurboy
Hello, all!

I cannot for the life of me figure this out quickly enough, so any help is greatly appreciated.

I need to cut cell contents (including formatting) for the currently selected cell in one sheet (from a table that is 6x80 cells)
and paste it to the first empty row on a list (one column in a separate sheet). I suspect about 200 of the values in the first sheet will be selected and pasted to the list.

I want to bind the macro to do this to a simple button, that way the user can select a cell, hit the button, and be done. Any notions on how to build the macro? I am an absolute novice at this, and my attempts to implement on my own have been futile. Thanks in advance!

- B.

Re: Calc Macro Help

Posted: Thu Sep 02, 2010 7:35 am
by Charlie Young
My attached example is hardly the only way to do this, and maybe more complicated than necessary. My "table" on sheet one, that is, the valid cells for copying from, is A2:A37, I have included various formatting in the characters there. The destination column is Column A of Sheet2. Hopefully it will be easy to modify to your exact purpose, but don't be afraid to ask questions here.

Re: Calc Macro Help

Posted: Thu Sep 02, 2010 3:48 pm
by boyurboy
Thanks for the help! I think this is solved!

Re: [Solved] Calc Macro to copy & paste cells

Posted: Tue Sep 13, 2016 4:40 am
by AndresAprende
Thanks Charlie