Automated copy without comments and certain rows

Perhha

New Member
Joined
Sep 10, 2019
Messages
1
Hello!

I have a simple excel file from which I'd like to share just certain rows and no comments with my colleagues in a separate file stored on a common file area. I'm thinking about creating a copy that is automatically updated at least daily in which some of the rows and all of the comments/notes are removed. I cannot seem to find a good way of doing this, any ideas?

Example:
My document has 50 rows and 400 columns with comments/notes every here and there. I need to share a copy (stored on a different drive) but I only want others to see rows 1-30 and no comments. The copy needs to be updated at least daily. How do I do this?

/Perhha
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Copies sheet2 to the current directory and names it Backup

Code:
Sub MM1()
Rows("31:50").Copy Sheets("Sheet2").Range("A1")
Sheets("Sheet2").SaveAs ThisWorkbook.Path & "\Backup" & ".xls"
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,138
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top