Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

I am trying to find out if there is a way to use a registry setting to
enable/disable the Allow Drag and Drop feature in Excel 2003. So far the
only way I have found to do it is actually by going into Excel - Tools -
Options. Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

If you're creating an Excel application or add-in the way to do it is
through the object model:

Application.CellDragAndDrop = False

This is a user level setting however so if you change it for the duration of
your app you should change it back when it's done.

--
Jim
"BSchmeltz" wrote in message
...
|I am trying to find out if there is a way to use a registry setting to
| enable/disable the Allow Drag and Drop feature in Excel 2003. So far the
| only way I have found to do it is actually by going into Excel - Tools -
| Options. Any help would be appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options

Rightside window Option3

Enabled value is 64 (decimal base)

Disabled value is 80 (decimal base)


Gord Dibben MS Excel MVP


On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
wrote:

I am trying to find out if there is a way to use a registry setting to
enable/disable the Allow Drag and Drop feature in Excel 2003. So far the
only way I have found to do it is actually by going into Excel - Tools -
Options. Any help would be appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Enable/Disable Drag and Drop in Excel 2003 via Registry


I do not have an "Option 3" entry in the location you provided. I attempted
to add it in as a DWORD value but that didn't appear to change anything. Not
sure what I am doing wrong. Any ideas?

"Gord Dibben" wrote:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options

Rightside window Option3

Enabled value is 64 (decimal base)

Disabled value is 80 (decimal base)


Gord Dibben MS Excel MVP


On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
wrote:

I am trying to find out if there is a way to use a registry setting to
enable/disable the Allow Drag and Drop feature in Excel 2003. So far the
only way I have found to do it is actually by going into Excel - Tools -
Options. Any help would be appreciated.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

There is no space before the "3".

Humor me. Why are you doing this through the registry?

--
Jim
"BSchmeltz" wrote in message
...
|
| I do not have an "Option 3" entry in the location you provided. I
attempted
| to add it in as a DWORD value but that didn't appear to change anything.
Not
| sure what I am doing wrong. Any ideas?
|
| "Gord Dibben" wrote:
|
| HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options
|
| Rightside window Option3
|
| Enabled value is 64 (decimal base)
|
| Disabled value is 80 (decimal base)
|
|
| Gord Dibben MS Excel MVP
|
|
| On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
| wrote:
|
| I am trying to find out if there is a way to use a registry setting to
| enable/disable the Allow Drag and Drop feature in Excel 2003. So far
the
| only way I have found to do it is actually by going into Excel -
Tools -
| Options. Any help would be appreciated.
|
|




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

I was typing it "Option3" in the registry I must not have been paying
attention when I replied.

The reason I am trying to do this is we currently have an entire department
of about 50 users that use a spreadsheet created by another group that
contains different macros. One of them is disabling both the cut function
and the Drag and Drop function. I have figured out a way to enable to cut
again and have created a batch file so that users can run that, I am hoping
to add to that batch file the registry changes to enable the drag and drop.
This is all being done as a temporary work around until the group gets there
spreadsheet configured correctly but I am not anticipating a quick response
from them.

If there are other ways to do this in a batch file that doesn't involve the
registry I would be more than willing to try them.

Thanks

Brian Schmeltz

"Jim Rech" wrote:

There is no space before the "3".

Humor me. Why are you doing this through the registry?

--
Jim
"BSchmeltz" wrote in message
...
|
| I do not have an "Option 3" entry in the location you provided. I
attempted
| to add it in as a DWORD value but that didn't appear to change anything.
Not
| sure what I am doing wrong. Any ideas?
|
| "Gord Dibben" wrote:
|
| HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options
|
| Rightside window Option3
|
| Enabled value is 64 (decimal base)
|
| Disabled value is 80 (decimal base)
|
|
| Gord Dibben MS Excel MVP
|
|
| On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
| wrote:
|
| I am trying to find out if there is a way to use a registry setting to
| enable/disable the Allow Drag and Drop feature in Excel 2003. So far
the
| only way I have found to do it is actually by going into Excel -
Tools -
| Options. Any help would be appreciated.
|
|



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

I don't know about a batch file but when I put this in a VBS file and run it
it resets D&D:

Dim wsh
Set wsh = CreateObject("WScript.Shell")
wsh.RegWrite "HKCU\Software\Microsoft\Office\11.0\Excel\Options \Options3",
64, "REG_DWORD"

Btw, it's Options3 (with an "s") which probably explains why it didn't work
for you.

--
Jim
"BSchmeltz" wrote in message
...
|I was typing it "Option3" in the registry I must not have been paying
| attention when I replied.
|
| The reason I am trying to do this is we currently have an entire
department
| of about 50 users that use a spreadsheet created by another group that
| contains different macros. One of them is disabling both the cut function
| and the Drag and Drop function. I have figured out a way to enable to cut
| again and have created a batch file so that users can run that, I am
hoping
| to add to that batch file the registry changes to enable the drag and
drop.
| This is all being done as a temporary work around until the group gets
there
| spreadsheet configured correctly but I am not anticipating a quick
response
| from them.
|
| If there are other ways to do this in a batch file that doesn't involve
the
| registry I would be more than willing to try them.
|
| Thanks
|
| Brian Schmeltz
|
| "Jim Rech" wrote:
|
| There is no space before the "3".
|
| Humor me. Why are you doing this through the registry?
|
| --
| Jim
| "BSchmeltz" wrote in message
| ...
| |
| | I do not have an "Option 3" entry in the location you provided. I
| attempted
| | to add it in as a DWORD value but that didn't appear to change
anything.
| Not
| | sure what I am doing wrong. Any ideas?
| |
| | "Gord Dibben" wrote:
| |
| | HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options
| |
| | Rightside window Option3
| |
| | Enabled value is 64 (decimal base)
| |
| | Disabled value is 80 (decimal base)
| |
| |
| | Gord Dibben MS Excel MVP
| |
| |
| | On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
| | wrote:
| |
| | I am trying to find out if there is a way to use a registry setting
to
| | enable/disable the Allow Drag and Drop feature in Excel 2003. So
far
| the
| | only way I have found to do it is actually by going into Excel -
| Tools -
| | Options. Any help would be appreciated.
| |
| |
|
|
|


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

Just curious: Wouldn't this be overruled by the other workbook?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Jim Rech" wrote in message
...
I don't know about a batch file but when I put this in a VBS file and run
it
it resets D&D:

Dim wsh
Set wsh = CreateObject("WScript.Shell")
wsh.RegWrite "HKCU\Software\Microsoft\Office\11.0\Excel\Options \Options3",
64, "REG_DWORD"

Btw, it's Options3 (with an "s") which probably explains why it didn't
work
for you.

--
Jim
"BSchmeltz" wrote in message
...
|I was typing it "Option3" in the registry I must not have been paying
| attention when I replied.
|
| The reason I am trying to do this is we currently have an entire
department
| of about 50 users that use a spreadsheet created by another group that
| contains different macros. One of them is disabling both the cut
function
| and the Drag and Drop function. I have figured out a way to enable to
cut
| again and have created a batch file so that users can run that, I am
hoping
| to add to that batch file the registry changes to enable the drag and
drop.
| This is all being done as a temporary work around until the group gets
there
| spreadsheet configured correctly but I am not anticipating a quick
response
| from them.
|
| If there are other ways to do this in a batch file that doesn't involve
the
| registry I would be more than willing to try them.
|
| Thanks
|
| Brian Schmeltz
|
| "Jim Rech" wrote:
|
| There is no space before the "3".
|
| Humor me. Why are you doing this through the registry?
|
| --
| Jim
| "BSchmeltz" wrote in message
| ...
| |
| | I do not have an "Option 3" entry in the location you provided. I
| attempted
| | to add it in as a DWORD value but that didn't appear to change
anything.
| Not
| | sure what I am doing wrong. Any ideas?
| |
| | "Gord Dibben" wrote:
| |
| | HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options
| |
| | Rightside window Option3
| |
| | Enabled value is 64 (decimal base)
| |
| | Disabled value is 80 (decimal base)
| |
| |
| | Gord Dibben MS Excel MVP
| |
| |
| | On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
| | wrote:
| |
| | I am trying to find out if there is a way to use a registry
setting
to
| | enable/disable the Allow Drag and Drop feature in Excel 2003. So
far
| the
| | only way I have found to do it is actually by going into Excel -
| Tools -
| | Options. Any help would be appreciated.
| |
| |
|
|
|




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

Thanks Jim

My typo in the first place.


Gord

On Thu, 12 Jul 2007 09:38:31 -0400, "Jim Rech" wrote:

Btw, it's Options3 (with an "s") which probably explains why it didn't work
for you.


  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Enable/Disable Drag and Drop in Excel 2003 via Registry

Wouldn't this be overruled by the other workbook?

It would. I assume he wants to run this batch file/script after Excel is
closed.

--
Jim
"Jon Peltier" wrote in message
...
| Just curious: Wouldn't this be overruled by the other workbook?
|
| - Jon
| -------
| Jon Peltier, Microsoft Excel MVP
| Tutorials and Custom Solutions
| Peltier Technical Services, Inc. - http://PeltierTech.com
| _______
|
|
| "Jim Rech" wrote in message
| ...
| I don't know about a batch file but when I put this in a VBS file and run
| it
| it resets D&D:
|
| Dim wsh
| Set wsh = CreateObject("WScript.Shell")
| wsh.RegWrite
"HKCU\Software\Microsoft\Office\11.0\Excel\Options \Options3",
| 64, "REG_DWORD"
|
| Btw, it's Options3 (with an "s") which probably explains why it didn't
| work
| for you.
|
| --
| Jim
| "BSchmeltz" wrote in message
| ...
| |I was typing it "Option3" in the registry I must not have been paying
| | attention when I replied.
| |
| | The reason I am trying to do this is we currently have an entire
| department
| | of about 50 users that use a spreadsheet created by another group that
| | contains different macros. One of them is disabling both the cut
| function
| | and the Drag and Drop function. I have figured out a way to enable to
| cut
| | again and have created a batch file so that users can run that, I am
| hoping
| | to add to that batch file the registry changes to enable the drag and
| drop.
| | This is all being done as a temporary work around until the group gets
| there
| | spreadsheet configured correctly but I am not anticipating a quick
| response
| | from them.
| |
| | If there are other ways to do this in a batch file that doesn't
involve
| the
| | registry I would be more than willing to try them.
| |
| | Thanks
| |
| | Brian Schmeltz
| |
| | "Jim Rech" wrote:
| |
| | There is no space before the "3".
| |
| | Humor me. Why are you doing this through the registry?
| |
| | --
| | Jim
| | "BSchmeltz" wrote in message
| | ...
| | |
| | | I do not have an "Option 3" entry in the location you provided. I
| | attempted
| | | to add it in as a DWORD value but that didn't appear to change
| anything.
| | Not
| | | sure what I am doing wrong. Any ideas?
| | |
| | | "Gord Dibben" wrote:
| | |
| | | HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options
| | |
| | | Rightside window Option3
| | |
| | | Enabled value is 64 (decimal base)
| | |
| | | Disabled value is 80 (decimal base)
| | |
| | |
| | | Gord Dibben MS Excel MVP
| | |
| | |
| | | On Wed, 11 Jul 2007 11:52:01 -0700, BSchmeltz
| | | wrote:
| | |
| | | I am trying to find out if there is a way to use a registry
| setting
| to
| | | enable/disable the Allow Drag and Drop feature in Excel 2003.
So
| far
| | the
| | | only way I have found to do it is actually by going into
Excel -
| | Tools -
| | | Options. Any help would be appreciated.
| | |
| | |
| |
| |
| |
|
|
|
|


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
Enable/Disable Macros dialogue box when user opens Excel David Excel Discussion (Misc queries) 2 August 23rd 06 02:21 PM
Unable to find registry key for MS-Excel 2003 setting Marcel Bruinsma Setting up and Configuration of Excel 0 September 21st 05 09:35 AM
how can i enable or disable the paste option in excel 2000 mianmian Excel Worksheet Functions 0 September 2nd 05 09:57 AM
Excel 2003 Multi-worksheet copy via drag/drop idrabefi Excel Worksheet Functions 0 April 12th 05 06:18 PM
How do I stop Excel from prompting to enable or disable macros? ARSmythe Excel Discussion (Misc queries) 4 January 12th 05 01:07 PM


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

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

About Us

"It's about Microsoft Excel"