Hi everyone, I'm working on a project at the moment which required a Macro to do the following:
(The button to activate the macro is located on a sheet called "Output" but all of the work takes places on one called "Calculation Sheet")
• Copy cell at "Calculation Sheet!AB503"
• Paste into a cell lower down as a value (Z506)
• Highlight Z506 and go into data>Text to columns
• Separate the data based on where semi colons are located and put the separated data into different columns (starting at A507)
• Delete contents of Z506
• Copy entirety of Row 507
• Paste (transpose) into AA511
• Delete entirety of Row 507~
• Copy cell at "Calculation Sheet!AB504"
• Paste into a cell lower down as a value (Z506)
• Highlight Z506 and go into data>Text to columns
• Separate the data based on where semi colons are located and put the separated data into different columns (starting at A507)
• Delete contents of Z506
• Copy entirety of Row 507
• Paste (transpose) into AB511
• Delete entirety of Row 507
• Go back to Cell A1 on Output Sheet
I recorded a macro to do this (and have cleaned it up slightly by removing "scrolling" stuff. This is what's left:
This code works fine as long as the Calculation Sheet is unprotected but I would ideally like to protect that sheet before sending it round to my coworkers (while ensuring the macro still works). Is there any way to do this?
Thank you in advance
E
Bookmarks