Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4382132
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:44:23+00:00 2026-05-21T12:44:23+00:00

Arr, I am stuck! I’m writing an Excel add-in that opens up a custom

  • 0

Arr, I am stuck!

I’m writing an Excel add-in that opens up a custom task pane (it’s a data analysis tool type of thing). In the interest of productivity I want to enable the user to drag an object, such as a file or email attachment, onto a part of that task pane for processing, rather than have to go through one or more file dialogs.

The problem is that Excel seems to completely override the drag/drop properties of the custom task pane and the controls it contains, so that when I drop a file onto the task pane, Excel simply tries to open it as a spreadsheet (and succeeds if it’s a supported file type), and my DragDrop event never fires.

Is there any way to make Excel stop doing this so the drop event gets sent to the task pane?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T12:44:23+00:00Added an answer on May 21, 2026 at 12:44 pm

    Ok, I found a way. It turns out the DragDrop event won’t fire as Excel handles all drag events itself, but the DragEnter event does fire, and when it does I can open a modeless form on top of the actual drop target. This form can then receive the DragDrop event (and kills itself on the DragLeave event). It’s a bit of a hack, but it seems to be working nicely.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been kinda stuck in trying to organize data and bind them to a
If I have a function that in that function I declare: Object arr[] =
arr = [[NSMutableArray alloc]init]; [arr addObject:[NSNumber numberWithInt:4]]; [arr addObject:[NSNumber numberWithInt:45]]; [arr addObject:[NSNumber numberWithInt:23]]; [arr
arr = [red,green,yellow] arr2 = arr.clone arr2[0].replace(blue) puts arr.inspect puts arr2.inspect produces: [blue, green,
int arr[ 5 ] = { 0 }; int i = 8; // out
var arr = ['a', 'b', 'c', 'd', 'e', 'f']; var point = 'c'; How
cocos2d::CCArray *arr; cocos2d::CCSprite *foo; arr->addObject(foo); CCObject *item; CCARRAY_FOREACH(arr, item) { //how to get item->getPosition()
arr=Array.new(3) arr[0]=5 arr[1]=3 arr[2]=2 These lines should call this function, https://github.com/ruby/ruby/blob/trunk/array.c#L568 according to this,
This is my array arr = [1,2,3,4,5,6,7,8] I want to write a method in
I've 2 arrays @arr & @arr1 each having 10 elements stored in it. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.