Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jac Jac is offline
external usenet poster
 
Posts: 58
Default How to lock the Data Controls' location from being altered by othe

hi,

I have created a command button on one of my MS Excel worksheet, but I don't
wish that others could be able to alter my command button's location; let's
say I want the command button to be placed on 150 (top), 150 (left).

Although I have tried to use the protection feature offered in Visual Basic
Editor; but this only can protect others from viewing the codes & the
properties of the button, others still can move the button using mouse click
& drag!!!!

Is there any way that the location of the button can be locked????
Please advice if anyone out there has any ideal to do so.....
Thanking in advance.





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to lock the Data Controls' location from being altered by othe

If you use a button from the control toolbox, they need to go to design mode
before they could move it. Not perfect, but it is more effort.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jac" wrote in message
...
hi,

I have created a command button on one of my MS Excel worksheet, but I
don't
wish that others could be able to alter my command button's location;
let's
say I want the command button to be placed on 150 (top), 150 (left).

Although I have tried to use the protection feature offered in Visual
Basic
Editor; but this only can protect others from viewing the codes & the
properties of the button, others still can move the button using mouse
click
& drag!!!!

Is there any way that the location of the button can be locked????
Please advice if anyone out there has any ideal to do so.....
Thanking in advance.







  #3   Report Post  
Posted to microsoft.public.excel.programming
Jac Jac is offline
external usenet poster
 
Posts: 58
Default How to lock the Data Controls' location from being altered by

what actually i want is, a way to lock the button's location as the way the
codes and properties can; even in the design mode!!!
Which mean even one entered the design mode but some how he is not the
authorized person to do the editing; he has NO way to alter the button
location as well......

Could it be done in Macro????



"Bob Phillips" wrote:

If you use a button from the control toolbox, they need to go to design mode
before they could move it. Not perfect, but it is more effort.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jac" wrote in message
...
hi,

I have created a command button on one of my MS Excel worksheet, but I
don't
wish that others could be able to alter my command button's location;
let's
say I want the command button to be placed on 150 (top), 150 (left).

Although I have tried to use the protection feature offered in Visual
Basic
Editor; but this only can protect others from viewing the codes & the
properties of the button, others still can move the button using mouse
click
& drag!!!!

Is there any way that the location of the button can be locked????
Please advice if anyone out there has any ideal to do so.....
Thanking in advance.








  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to lock the Data Controls' location from being altered by

Can't you just protect the worksheet ?

NickHK

"Jac" wrote in message
...
what actually i want is, a way to lock the button's location as the way

the
codes and properties can; even in the design mode!!!
Which mean even one entered the design mode but some how he is not the
authorized person to do the editing; he has NO way to alter the button
location as well......

Could it be done in Macro????



"Bob Phillips" wrote:

If you use a button from the control toolbox, they need to go to design

mode
before they could move it. Not perfect, but it is more effort.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my

addy)

"Jac" wrote in message
...
hi,

I have created a command button on one of my MS Excel worksheet, but I
don't
wish that others could be able to alter my command button's location;
let's
say I want the command button to be placed on 150 (top), 150 (left).

Although I have tried to use the protection feature offered in Visual
Basic
Editor; but this only can protect others from viewing the codes & the
properties of the button, others still can move the button using mouse
click
& drag!!!!

Is there any way that the location of the button can be locked????
Please advice if anyone out there has any ideal to do so.....
Thanking in advance.










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lock location of sheet within a spreadsheet PJ Excel Discussion (Misc queries) 4 December 4th 09 07:07 PM
how to limit the Weightage of any data & distribute excess to othe Salman Excel Worksheet Functions 0 March 5th 08 05:21 AM
need formula to return data from one column after comparing 2 othe Jeff W Excel Worksheet Functions 3 February 21st 08 02:25 PM
How do I lock the location of the Data Validation Input Message? KT Excel Worksheet Functions 1 May 21st 07 06:58 PM
Lock a file so it can't be altered unless saved as another file Chrisrmx Excel Worksheet Functions 1 March 29th 06 02:40 PM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"