[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Macro to prevent format change

Posted on 2013-11-24
6
Medium Priority
?
226 Views
Last Modified: 2013-11-26
Can we have a macro, probably trapped by worksheet_change event which will prevent any changes like color, borders, etc to a worksheet? It would be best if it works like a data validation giving a message box to the effect.
0
Comment
Question by:Saqib Husain, Syed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
samrad1 earned 2000 total points
ID: 39673830
Hey!

You can do this w/o macros and use sheet protection which will prevent formatting ect. Just goto the review tab and choose Protect sheet, then at the dialog you can just click ok to protect it w/o a password (or enter a password if you prefer). :-)

Was there a reason you want macros instead?
0
 
LVL 50
ID: 39673841
Bravo samrad1! (Good to see you here!)

I love solutions that can be done by ticking a box instead of writing a macro.

cheers, teylyn
0
 
LVL 43

Author Closing Comment

by:Saqib Husain, Syed
ID: 39673873
Hi, samrad1

I am with teylyn

There was no reason. Just never thought of it. Actually My own spreadsheets have almost no formatting other than bold and borders so I had never had the chance to explore this area.

This assignment is for all employees and I do not want them to muck with the formatting of the timesheets. I am sure protection will work just fine.

Thanks for the effort. How about an intro on your profile?

Saqib
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 2

Expert Comment

by:samrad1
ID: 39674204
Yay! Good to see u 2 on here too! I'll fill out a little something on the profile soon, still getting a feel for everything on here :-)
0
 
LVL 43

Author Comment

by:Saqib Husain, Syed
ID: 39674213
Unless you have already been there you are welcome to join excel experts discussion topic at

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28245882.html#a39670734
0
 
LVL 2

Expert Comment

by:samrad1
ID: 39677194
Oh I haven't, thanks for the link!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question