okay forget above that's not working - now I see your problem
Main Topics
Browse All TopicsHi,
I have a button on a spreadsheet that copies a hidden row and pastes it at the bottom of the sheet. I need to add a checkbox to the first column of the hidden row and have it copy and paste along with the rest of the row. I can't get the checkbox to copy - I just get the "false" because the checkbox is unchecked. Alternatively, if I could just add the checkbox to the first column after the row is pasted that would work too. I can't figure out either way. Here's the macro code that adds the row:
ActiveWindow.SmallScroll Down:=9
Range("I31").Select
ActiveSheet.Unprotect
Selection.End(xlDown).Sele
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.End(xlToLeft).Se
Selection.EntireRow.Insert
ActiveCell.Offset(-20, 0).Rows("1:1").EntireRow.S
Selection.Copy
Rows("25:25").Select
Application.CutCopyMode = False
Selection.Copy
Range("I31").Select
Selection.End(xlDown).Sele
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.End(xlToLeft).Se
ActiveSheet.Paste
I'm pressed for time on this one, so I'll award 500 points for the answer.
Thanks,
cgp
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: mgroyalPosted on 2005-10-05 at 05:26:20ID: 15021049
do you just want to this?
(9.75, 177, 24, 17.25).Select
Rows("15:15").Select 'your hiden source row
Selection.Copy
Rows("26:26").Select 'your target row
ActiveSheet.CheckBoxes.Add
ActiveSheet.Paste
cheers mgroyal