Drag and drop

Status
Not open for further replies.
M

Mike

I have an application that requires that file names be less that 90

characters long. I can't seem to make my users do this when they save .msg

files themselves. So we have one macro in Outlook that will format the file

name corretly for them. A couple of users get around this by dragging and

dropping their messages to the file system. I would like a macro that gets

fired when a drag and drop is done and tests the file name for formatting.

How do I get a macro to run when they initiate a drag and drop and how do I

access the filename of the messages they dragged?

Mike
 
There are no events that fire when a message is dragged from Outlook to the

file system

Dmitry Streblechenko (MVP)

-

"Mike" <Mike> wrote in message

news:69FFF114-F876-4FBE-8210-9CC61A3590F8@microsoft.com...
> I have an application that requires that file names be less that 90
> characters long. I can't seem to make my users do this when they save
> .msg
> files themselves. So we have one macro in Outlook that will format the
> file
> name corretly for them. A couple of users get around this by dragging and
> dropping their messages to the file system. I would like a macro that
> gets
> fired when a drag and drop is done and tests the file name for formatting.
> How do I get a macro to run when they initiate a drag and drop and how do
> I
> access the filename of the messages they dragged?

> Mike
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M Extract "Date sent" from emails (saved to folder using drag and drop) Outlook VBA and Custom Forms 1
R PST->Outlook.com (Import vs Drag-n-Drop methods Using Outlook.com accounts in Outlook 2
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
K Cannot consistently drag and drop .msg files into Outlook 2010 Using Outlook 0
F Tumblr - Drag & Drop files (pictures) into Outlook? Using Outlook 12
C Cannot drag and drop or create folder in PST file folders Using Outlook 1
L Copying Emails using drag and drop Using Outlook 2
V Drag and drop into Outlook folders Using Outlook 2
T drag drop/opening drop down/single click acts like double/highlighting Using Outlook 7
R Outlook 2007 - drag drop email to Explorer Using Outlook 1
J Problem using drag and drop to attach an html email in Outlook 2010 Using Outlook 18
H Drag and Drop Outlook mails into a Windows Form Control with eml extension Outlook VBA and Custom Forms 1
N Drag and drop attachment in outlook addin Outlook VBA and Custom Forms 4
S Drag-and-drop to Custom Task Pane Outlook VBA and Custom Forms 2
A Implementing Drag and drop events in outlook Outlook VBA and Custom Forms 7
P Drag and Drop mails from Outlook to Clarion6 Application Outlook VBA and Custom Forms 5
L Macro to add Date & Time etc to "drag to save" e-mails Outlook VBA and Custom Forms 17
S Renaming while drag and dropping to file Using Outlook 1
B Right click-drag no longer creates hyperlinks Using Outlook 2
T Can not drag e-mails from search to folders Using Outlook 1
S cannot drag emails to personal folders BCM (Business Contact Manager) 1
J How to create a drop down user defined field that will appear on an inbox view Outlook VBA and Custom Forms 8
D Outlook 2013 Macros only run in VB editor, not in drop down or button Outlook VBA and Custom Forms 14
Z See "Change View" Drop Down as a List? Using Outlook 1
Y Outlook Task View - Table Format - Customize Reminder Time to Drop-Down Selection Using Outlook 2
D BCM 2013 not functioning as BCM 2010 Example no drop down for communications history Using Outlook 0
M Same file "stuck" on top of file list in "Attach File" drop down Using Outlook 4
A Automatically send email based on drop-down field? Outlook VBA and Custom Forms 2
Diane Poremsky No drop down calendars in Outlook 2010 Print Options Using Outlook 0
P BCM 2013 Contacts Form Drop Down Box Bug BCM (Business Contact Manager) 1
P Field in Forms displayed depending on the Item chosen from drop-down-list BCM (Business Contact Manager) 1
M Add custom locations to Outlook Forms "Look In:" drop-down list Using Outlook 5
M How do I link a drop down box to a percent complete box Using Outlook 4
R Display multiple accounts as drop down in the from field in New Mail Using Outlook 1
S Outlook addin formregion as a drop down Outlook VBA and Custom Forms 6
S RE: Template with drop down Outlook VBA and Custom Forms 3
C Drop Down Box in Email Template Outlook VBA and Custom Forms 2

Similar threads

Back
Top