Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

insert rows

Status
Not open for further replies.

faxof

Programmer
Joined
Dec 5, 2001
Messages
272
Location
GB
is there any way i can use code to stop users from inserting rows on an unprotected sheet in excel?

thanx
faxof
 
Go to last cell - since excel 97 it is IV65536 and put there something. The user will not be able to add row/column. However, it will be possible after deleting a row.

combo
 
cheers

that works nice - but is there anyway i can change the error message?


faxof
 
I don't think so - it is standard warning and do not think that it can be easily disabled. It is better to protect worksheet or write VBA application.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top