Outlook 2007 Macro: Paste - Paste Special - Unformatted Text

Status
Not open for further replies.
G

Gary Petersen

I'd like to assign a macro in Outlook 2007 to a Toolbar button that would

execute the equivalent of these clicks when there is formatted text in the

Windows clipboard:

1. Click the Paste icon by the bottom arrow

2. Click the Paste Special link.

3. Click the Unformatted Text link.

I have similar macros in Excel 2007 and Word 2007 but haven't been able to

get one to work in Outlook 2007 / VBA. What would the VBA code for such a

macro be?

When I try code similar to what I use in Word, I get a Run time error '424'

Object required error. I'm obviously not defining an object correctly, but

I've not been able to figure out how to do that properly. Thanks for the

help.

Gary Petersen
 
You probably just need to modify your code so that it uses a Word.Selection

object deriveed from the Outlook item you're working with. I've posted an

example at

http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry

that shows how to do that.

Sue Mosher

"Gary Petersen" <GaryPetersen> wrote in message

news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> I'd like to assign a macro in Outlook 2007 to a Toolbar button that would
> execute the equivalent of these clicks when there is formatted text in the
> Windows clipboard:

> 1. Click the Paste icon by the bottom arrow
> 2. Click the Paste Special link.
> 3. Click the Unformatted Text link.

> I have similar macros in Excel 2007 and Word 2007 but haven't been able to
> get one to work in Outlook 2007 / VBA. What would the VBA code for such a
> macro be?

> When I try code similar to what I use in Word, I get a Run time error
> '424'
> Object required error. I'm obviously not defining an object correctly,
> but
> I've not been able to figure out how to do that properly. Thanks for the
> help.

> > Gary Petersen
>
 
Thanks for the reply and link, Sue. So if my Word 2007 macro to paste

unformatted text is this:

Sub Paste_Unformatted_Text()

'

' Paste_Unformatted_Text Macro

'

'

Selection.PasteSpecial Link:=False, DataType:=wdPasteText

End Sub

Would my equivalent Outlook 2007 macro be this?

Sub Paste_Special_Unformatted()

Dim objDoc As Word.Document

Dim objSel As Word.Selection

On Error Resume Next

' get a Word.Selection from the open Outlook item

Set objDoc = Application.ActiveInspector.WordEditor

Set objSel = objDoc.Windows(1).Selection

' now do what you want with the Selection

objSel.PasteSpecial Link:=False, DataType:=wdPasteText

Set objDoc = Nothing

Set objSel = Nothing

End Sub

I don't get the error message with this, but it also doesn't appear to do

anything. Where am I going wrong?

Thanks again for your help. I do appreciate it.

Gary Petersen

Gary Petersen

"Sue Mosher [MVP]" wrote:


> You probably just need to modify your code so that it uses a Word.Selection
> object deriveed from the Outlook item you're working with. I've posted an
> example at
> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> that shows how to do that.

> > Sue Mosher
> > >

> "Gary Petersen" <GaryPetersen> wrote in message
> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that would
> > execute the equivalent of these clicks when there is formatted text in the
> > Windows clipboard:
> > 1. Click the Paste icon by the bottom arrow
> > 2. Click the Paste Special link.
> > 3. Click the Unformatted Text link.
> > I have similar macros in Excel 2007 and Word 2007 but haven't been able to
> > get one to work in Outlook 2007 / VBA. What would the VBA code for such a
> > macro be?
> > When I try code similar to what I use in Word, I get a Run time error
> > '424'
> > Object required error. I'm obviously not defining an object correctly,
> > but
> > I've not been able to figure out how to do that properly. Thanks for the
> > help.
> > > > Gary Petersen
> >


>
 
Nothing specific jumps out at me as a problem. Have you tried commenting out

the On Error Resume Next statement so you can see any errors as you step

through the code?

Sue Mosher

"Gary Petersen" <GaryPetersen> wrote in message

news:428C7089-3835-465E-B040-EA504A902851@microsoft.com...
> Thanks for the reply and link, Sue. So if my Word 2007 macro to paste
> unformatted text is this:

> Sub Paste_Unformatted_Text()
> '
> ' Paste_Unformatted_Text Macro
> '
> '
> Selection.PasteSpecial Link:=False, DataType:=wdPasteText
> End Sub

> Would my equivalent Outlook 2007 macro be this?

> Sub Paste_Special_Unformatted()
> Dim objDoc As Word.Document
> Dim objSel As Word.Selection
> On Error Resume Next
> ' get a Word.Selection from the open Outlook item
> Set objDoc = Application.ActiveInspector.WordEditor
> Set objSel = objDoc.Windows(1).Selection
> ' now do what you want with the Selection
> objSel.PasteSpecial Link:=False, DataType:=wdPasteText
> Set objDoc = Nothing
> Set objSel = Nothing
> End Sub

> I don't get the error message with this, but it also doesn't appear to do
> anything. Where am I going wrong?



> "Sue Mosher [MVP]" wrote:
>
> > You probably just need to modify your code so that it uses a
> > Word.Selection
> > object deriveed from the Outlook item you're working with. I've posted an
> > example at
> > http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> > that shows how to do that.



>

>> "Gary Petersen" <GaryPetersen> wrote in message
> > news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> > > I'd like to assign a macro in Outlook 2007 to a Toolbar button that
> > > would
> > > execute the equivalent of these clicks when there is formatted text in
> > > the
> > > Windows clipboard:
> >> > 1. Click the Paste icon by the bottom arrow
> > > 2. Click the Paste Special link.
> > > 3. Click the Unformatted Text link.
> >> > I have similar macros in Excel 2007 and Word 2007 but haven't been able
> > > to
> > > get one to work in Outlook 2007 / VBA. What would the VBA code for such
> > > a
> > > macro be?
> >> > When I try code similar to what I use in Word, I get a Run time error
> > > '424'
> > > Object required error. I'm obviously not defining an object correctly,
> > > but
> > > I've not been able to figure out how to do that properly. Thanks for
> > > the
> > > help.
> >> > > > > Gary Petersen
> > >

>

>
>>
 
I did, here at home, but got no response when I tried to run the macro. I'll

try it again at work, which is mostly where I want the macro running. I'm

also borrowing a copy of your book from a local library to see what I can

learn there. Thanks,

Gary Petersen

"Sue Mosher [MVP]" wrote:


> Nothing specific jumps out at me as a problem. Have you tried commenting out
> the On Error Resume Next statement so you can see any errors as you step
> through the code?

> > Sue Mosher
> > >

> "Gary Petersen" <GaryPetersen> wrote in message
> news:428C7089-3835-465E-B040-EA504A902851@microsoft.com...
> > Thanks for the reply and link, Sue. So if my Word 2007 macro to paste
> > unformatted text is this:
> > Sub Paste_Unformatted_Text()
> > '
> > ' Paste_Unformatted_Text Macro
> > '
> > '
> > Selection.PasteSpecial Link:=False, DataType:=wdPasteText
> > End Sub
> > Would my equivalent Outlook 2007 macro be this?
> > Sub Paste_Special_Unformatted()
> > Dim objDoc As Word.Document
> > Dim objSel As Word.Selection
> > On Error Resume Next
> > ' get a Word.Selection from the open Outlook item
> > Set objDoc = Application.ActiveInspector.WordEditor
> > Set objSel = objDoc.Windows(1).Selection
> > ' now do what you want with the Selection
> > objSel.PasteSpecial Link:=False, DataType:=wdPasteText
> > Set objDoc = Nothing
> > Set objSel = Nothing
> > End Sub
> > I don't get the error message with this, but it also doesn't appear to do
> > anything. Where am I going wrong?

>
> > "Sue Mosher [MVP]" wrote:
> >
> >> You probably just need to modify your code so that it uses a
> >> Word.Selection
> >> object deriveed from the Outlook item you're working with. I've posted an
> >> example at
> >> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> >> that shows how to do that.

>
> >
> >> "Gary Petersen" <GaryPetersen> wrote in message
> >> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> >> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that
> >> > would
> >> > execute the equivalent of these clicks when there is formatted text in
> >> > the
> >> > Windows clipboard:
> >> >> > 1. Click the Paste icon by the bottom arrow
> >> > 2. Click the Paste Special link.
> >> > 3. Click the Unformatted Text link.
> >> >> > I have similar macros in Excel 2007 and Word 2007 but haven't been able
> >> > to
> >> > get one to work in Outlook 2007 / VBA. What would the VBA code for such
> >> > a
> >> > macro be?
> >> >> > When I try code similar to what I use in Word, I get a Run time error
> >> > '424'
> >> > Object required error. I'm obviously not defining an object correctly,
> >> > but
> >> > I've not been able to figure out how to do that properly. Thanks for
> >> > the
> >> > help.
> >> >> > > >> > Gary Petersen
> >> >
> >
> >>


>
 
I'm getting a "Compile Error: User-defined type not defined error" now,

regardless of whether I comment out the On Error Resume Next statement. I

should have your book to reference tomorrow. This is much more work than I

expected it would be. Thanks for your continued help.

Gary Petersen

"Sue Mosher [MVP]" wrote:


> Nothing specific jumps out at me as a problem. Have you tried commenting out
> the On Error Resume Next statement so you can see any errors as you step
> through the code?

> > Sue Mosher
> > >

> "Gary Petersen" <GaryPetersen> wrote in message
> news:428C7089-3835-465E-B040-EA504A902851@microsoft.com...
> > Thanks for the reply and link, Sue. So if my Word 2007 macro to paste
> > unformatted text is this:
> > Sub Paste_Unformatted_Text()
> > '
> > ' Paste_Unformatted_Text Macro
> > '
> > '
> > Selection.PasteSpecial Link:=False, DataType:=wdPasteText
> > End Sub
> > Would my equivalent Outlook 2007 macro be this?
> > Sub Paste_Special_Unformatted()
> > Dim objDoc As Word.Document
> > Dim objSel As Word.Selection
> > On Error Resume Next
> > ' get a Word.Selection from the open Outlook item
> > Set objDoc = Application.ActiveInspector.WordEditor
> > Set objSel = objDoc.Windows(1).Selection
> > ' now do what you want with the Selection
> > objSel.PasteSpecial Link:=False, DataType:=wdPasteText
> > Set objDoc = Nothing
> > Set objSel = Nothing
> > End Sub
> > I don't get the error message with this, but it also doesn't appear to do
> > anything. Where am I going wrong?

>
> > "Sue Mosher [MVP]" wrote:
> >
> >> You probably just need to modify your code so that it uses a
> >> Word.Selection
> >> object deriveed from the Outlook item you're working with. I've posted an
> >> example at
> >> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> >> that shows how to do that.

>
> >
> >> "Gary Petersen" <GaryPetersen> wrote in message
> >> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> >> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that
> >> > would
> >> > execute the equivalent of these clicks when there is formatted text in
> >> > the
> >> > Windows clipboard:
> >> >> > 1. Click the Paste icon by the bottom arrow
> >> > 2. Click the Paste Special link.
> >> > 3. Click the Unformatted Text link.
> >> >> > I have similar macros in Excel 2007 and Word 2007 but haven't been able
> >> > to
> >> > get one to work in Outlook 2007 / VBA. What would the VBA code for such
> >> > a
> >> > macro be?
> >> >> > When I try code similar to what I use in Word, I get a Run time error
> >> > '424'
> >> > Object required error. I'm obviously not defining an object correctly,
> >> > but
> >> > I've not been able to figure out how to do that properly. Thanks for
> >> > the
> >> > help.
> >> >> > > >> > Gary Petersen
> >> >
> >
> >>


>
 
Did you remember to use Tools | References to add a reference to the

Microsoft Word library?

Sue Mosher

"Gary Petersen" <GaryPetersen> wrote in message

news:1724CCC9-818D-4327-BE69-7663E4271C02@microsoft.com...
> I'm getting a "Compile Error: User-defined type not defined error" now,
> regardless of whether I comment out the On Error Resume Next statement. I
> should have your book to reference tomorrow. This is much more work than
> I
> expected it would be. Thanks for your continued help.

> Gary Petersen

> "Sue Mosher [MVP]" wrote:
>
> > Nothing specific jumps out at me as a problem. Have you tried commenting
> > out
> > the On Error Resume Next statement so you can see any errors as you step
> > through the code?
>

>> "Gary Petersen" <GaryPetersen> wrote in message
> > news:428C7089-3835-465E-B040-EA504A902851@microsoft.com...
> > > Thanks for the reply and link, Sue. So if my Word 2007 macro to paste
> > > unformatted text is this:
> >> > Sub Paste_Unformatted_Text()
> > > '
> > > ' Paste_Unformatted_Text Macro
> > > '
> > > '
> > > Selection.PasteSpecial Link:=False, DataType:=wdPasteText
> > > End Sub
> >> > Would my equivalent Outlook 2007 macro be this?
> >> > Sub Paste_Special_Unformatted()
> > > Dim objDoc As Word.Document
> > > Dim objSel As Word.Selection
> > > On Error Resume Next
> > > ' get a Word.Selection from the open Outlook item
> > > Set objDoc = Application.ActiveInspector.WordEditor
> > > Set objSel = objDoc.Windows(1).Selection
> > > ' now do what you want with the Selection
> > > objSel.PasteSpecial Link:=False, DataType:=wdPasteText
> > > Set objDoc = Nothing
> > > Set objSel = Nothing
> > > End Sub
> >> > I don't get the error message with this, but it also doesn't appear to
> > > do
> > > anything. Where am I going wrong?

> >
> > > "Sue Mosher [MVP]" wrote:
> >> >> You probably just need to modify your code so that it uses a
> > >> Word.Selection
> > >> object deriveed from the Outlook item you're working with. I've posted
> > >> an
> > >> example at
> > >> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> > >> that shows how to do that.

> >
> > >
>> >> "Gary Petersen" <GaryPetersen> wrote in
> > >> message
> > >> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> > >> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that
> > >> > would
> > >> > execute the equivalent of these clicks when there is formatted text
> > >> > in
> > >> > the
> > >> > Windows clipboard:
> > >>> >> > 1. Click the Paste icon by the bottom arrow
> > >> > 2. Click the Paste Special link.
> > >> > 3. Click the Unformatted Text link.
> > >>> >> > I have similar macros in Excel 2007 and Word 2007 but haven't been
> > >> > able
> > >> > to
> > >> > get one to work in Outlook 2007 / VBA. What would the VBA code for
> > >> > such
> > >> > a
> > >> > macro be?
> > >>> >> > When I try code similar to what I use in Word, I get a Run time
> > >> > error
> > >> > '424'
> > >> > Object required error. I'm obviously not defining an object
> > >> > correctly,
> > >> > but
> > >> > I've not been able to figure out how to do that properly. Thanks
> > >> > for
> > >> > the
> > >> > help.
> > >>> >> > > > >> > Gary Petersen
> > >>> >
>> >
>> >>

>

>
>>
 
No, I didn't. Once I found where to do that (in the Visual Basic Editor, in

case someone else finds this later through searching), it seems to work just

fine here at home. Which pretty much guarantees it will also work on my work

laptop.

Thanks! I've been trying to get this working for a long time. I really

appreciate the help.

Gary Petersen

"Sue Mosher [MVP]" wrote:


> Did you remember to use Tools | References to add a reference to the
> Microsoft Word library?

> > Sue Mosher
> > >

> "Gary Petersen" <GaryPetersen> wrote in message
> news:1724CCC9-818D-4327-BE69-7663E4271C02@microsoft.com...
> > I'm getting a "Compile Error: User-defined type not defined error" now,
> > regardless of whether I comment out the On Error Resume Next statement. I
> > should have your book to reference tomorrow. This is much more work than
> > I
> > expected it would be. Thanks for your continued help.
> > Gary Petersen
> > "Sue Mosher [MVP]" wrote:
> >
> >> Nothing specific jumps out at me as a problem. Have you tried commenting
> >> out
> >> the On Error Resume Next statement so you can see any errors as you step
> >> through the code?
> >
> >> "Gary Petersen" <GaryPetersen> wrote in message
> >> news:428C7089-3835-465E-B040-EA504A902851@microsoft.com...
> >> > Thanks for the reply and link, Sue. So if my Word 2007 macro to paste
> >> > unformatted text is this:
> >> >> > Sub Paste_Unformatted_Text()
> >> > '
> >> > ' Paste_Unformatted_Text Macro
> >> > '
> >> > '
> >> > Selection.PasteSpecial Link:=False, DataType:=wdPasteText
> >> > End Sub
> >> >> > Would my equivalent Outlook 2007 macro be this?
> >> >> > Sub Paste_Special_Unformatted()
> >> > Dim objDoc As Word.Document
> >> > Dim objSel As Word.Selection
> >> > On Error Resume Next
> >> > ' get a Word.Selection from the open Outlook item
> >> > Set objDoc = Application.ActiveInspector.WordEditor
> >> > Set objSel = objDoc.Windows(1).Selection
> >> > ' now do what you want with the Selection
> >> > objSel.PasteSpecial Link:=False, DataType:=wdPasteText
> >> > Set objDoc = Nothing
> >> > Set objSel = Nothing
> >> > End Sub
> >> >> > I don't get the error message with this, but it also doesn't appear to
> >> > do
> >> > anything. Where am I going wrong?
> >
> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> You probably just need to modify your code so that it uses a
> >> >> Word.Selection
> >> >> object deriveed from the Outlook item you're working with. I've posted
> >> >> an
> >> >> example at
> >> >> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> >> >> that shows how to do that.
> >
> >> >
> >> >> "Gary Petersen" <GaryPetersen> wrote in
> >> >> message
> >> >> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> >> >> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that
> >> >> > would
> >> >> > execute the equivalent of these clicks when there is formatted text
> >> >> > in
> >> >> > the
> >> >> > Windows clipboard:
> >> >> >> >> > 1. Click the Paste icon by the bottom arrow
> >> >> > 2. Click the Paste Special link.
> >> >> > 3. Click the Unformatted Text link.
> >> >> >> >> > I have similar macros in Excel 2007 and Word 2007 but haven't been
> >> >> > able
> >> >> > to
> >> >> > get one to work in Outlook 2007 / VBA. What would the VBA code for
> >> >> > such
> >> >> > a
> >> >> > macro be?
> >> >> >> >> > When I try code similar to what I use in Word, I get a Run time
> >> >> > error
> >> >> > '424'
> >> >> > Object required error. I'm obviously not defining an object
> >> >> > correctly,
> >> >> > but
> >> >> > I've not been able to figure out how to do that properly. Thanks
> >> >> > for
> >> >> > the
> >> >> > help.
> >> >> >> >> > > >> >> > Gary Petersen
> >> >> >> >
> >> >
> >> >
> >
> >
> >>


>
 
Thanks! This works lie a charm!

"Sue Mosher [MVP]" wrote:


> Nothing specific jumps out at me as a problem. Have you tried commenting out
> the On Error Resume Next statement so you can see any errors as you step
> through the code?

> > Sue Mosher
> > >

> "Gary Petersen" <GaryPetersen> wrote in message
> news:428C7089-3835-465E-B040-EA504A902851@microsoft.com...
> > Thanks for the reply and link, Sue. So if my Word 2007 macro to paste
> > unformatted text is this:
> > Sub Paste_Unformatted_Text()
> > '
> > ' Paste_Unformatted_Text Macro
> > '
> > '
> > Selection.PasteSpecial Link:=False, DataType:=wdPasteText
> > End Sub
> > Would my equivalent Outlook 2007 macro be this?
> > Sub Paste_Special_Unformatted()
> > Dim objDoc As Word.Document
> > Dim objSel As Word.Selection
> > On Error Resume Next
> > ' get a Word.Selection from the open Outlook item
> > Set objDoc = Application.ActiveInspector.WordEditor
> > Set objSel = objDoc.Windows(1).Selection
> > ' now do what you want with the Selection
> > objSel.PasteSpecial Link:=False, DataType:=wdPasteText
> > Set objDoc = Nothing
> > Set objSel = Nothing
> > End Sub
> > I don't get the error message with this, but it also doesn't appear to do
> > anything. Where am I going wrong?

>
> > "Sue Mosher [MVP]" wrote:
> >
> >> You probably just need to modify your code so that it uses a
> >> Word.Selection
> >> object deriveed from the Outlook item you're working with. I've posted an
> >> example at
> >> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> >> that shows how to do that.

>
> >
> >> "Gary Petersen" <GaryPetersen> wrote in message
> >> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> >> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that
> >> > would
> >> > execute the equivalent of these clicks when there is formatted text in
> >> > the
> >> > Windows clipboard:
> >> >> > 1. Click the Paste icon by the bottom arrow
> >> > 2. Click the Paste Special link.
> >> > 3. Click the Unformatted Text link.
> >> >> > I have similar macros in Excel 2007 and Word 2007 but haven't been able
> >> > to
> >> > get one to work in Outlook 2007 / VBA. What would the VBA code for such
> >> > a
> >> > macro be?
> >> >> > When I try code similar to what I use in Word, I get a Run time error
> >> > '424'
> >> > Object required error. I'm obviously not defining an object correctly,
> >> > but
> >> > I've not been able to figure out how to do that properly. Thanks for
> >> > the
> >> > help.
> >> >> > > >> > Gary Petersen
> >> >
> >
> >>


>
 
picture

Your code for Euro seems it could be modifyed for my applicatio. I have used

excel & word macros yet do not understand outlook vba. I want to insert my

signature with a picture in new mail. Outlook will allow this on reply or

forward only. Need a macro that will work on new mail. Any direction

appreciated.

Thanks

Sub Euro()

Dim objDoc As Word.Document

Dim objSel As Word.Selection

On Error Resume Next

' get a Word.Selection from the open Outlook item

Set objDoc = Application.ActiveInspector.WordEditor

Set objSel = objDoc.Windows(1).Selection

' now do what you want with the Selection

objSel.TypeText "€"

Set objDoc = Nothing

Set objSel = Nothing

End Sub

"Sue Mosher [MVP]" wrote:


> You probably just need to modify your code so that it uses a Word.Selection
> object deriveed from the Outlook item you're working with. I've posted an
> example at
> http://turtleflock-ol2007.spaces.live.com/blog/cns!C1013F1F9A99E3D8!579.entry
> that shows how to do that.

> > Sue Mosher
> > >

> "Gary Petersen" <GaryPetersen> wrote in message
> news:629EB8D6-0B79-4973-9EC4-BEB128EF1A0F@microsoft.com...
> > I'd like to assign a macro in Outlook 2007 to a Toolbar button that would
> > execute the equivalent of these clicks when there is formatted text in the
> > Windows clipboard:
> > 1. Click the Paste icon by the bottom arrow
> > 2. Click the Paste Special link.
> > 3. Click the Unformatted Text link.
> > I have similar macros in Excel 2007 and Word 2007 but haven't been able to
> > get one to work in Outlook 2007 / VBA. What would the VBA code for such a
> > macro be?
> > When I try code similar to what I use in Word, I get a Run time error
> > '424'
> > Object required error. I'm obviously not defining an object correctly,
> > but
> > I've not been able to figure out how to do that properly. Thanks for the
> > help.
> > > > Gary Petersen
> >


>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S Macro for other actions - Outlook 2007 Outlook VBA and Custom Forms 23
L Outlook 2007 - Macro Re Search Using Outlook 16
L Outlook 2007 Macro to Contact From a Field Using Outlook 3
L Outlook 2007 Macro Save Contact Using Outlook 10
L Outlook 2007 Macro Reply to E-mail Using Outlook 16
L Outlook 2007 Macro Search Contacts Using Outlook 9
L Outlook 2007 Macro to LinkedIn Using Outlook 3
L Outlook 2007 Macro Open Contact Folder Using Outlook 7
L Macro to Open a Specific Word Document - Outlook 2007 Using Outlook 17
L Outlook 2007 Macro For Views Using Outlook 10
L Outlook 2007 Macro to Run a Script From a Contact Form Using Outlook 41
L Outlook 2007 Macro to Add Text to a Contact Field Using Outlook 10
F Help with Outlook 2007 Macro Please! Using Outlook 4
D outlook 2003/2007 macro query Using Outlook 2
L Outlook 2007 Macro to Email Field Using Outlook 31
O Macro for creating hyperlinks in Outlook 2007 Using Outlook 3
S Outlook 2007 Macro for replying to an e-mail. Outlook VBA and Custom Forms 1
J Can't run macro Outlook 2007 that was created in Word 2007 Outlook VBA and Custom Forms 1
I Creating an Outlook 2007 macro that attaches a signature to new me Outlook VBA and Custom Forms 1
L Help for writing an Outlook 2007 macro Outlook VBA and Custom Forms 7
D Insert Text via Macro in Outlook 2007 Outlook VBA and Custom Forms 2
C After Office 2007 SP2 install - Outlook 2007 macro no longer worki Outlook VBA and Custom Forms 11
R Anyone have a sample macro for Outlook 2007 (setting the zoom)? Outlook VBA and Custom Forms 1
S Outlook 2007: automating form with macro Outlook VBA and Custom Forms 2
S How to create a macro to insert a signature in Outlook 2007 Outlook VBA and Custom Forms 1
D Outlook 2007 Recovering E-Mails Using Outlook 0
W Transfer Outlook 2016 autocomplete file to Outlook 2007 Using Outlook 1
C Outlook 2007 Removing then adding account restores junk email processing Using Outlook 0
S Outlook 2007 crash linked to gdiplus.dll Using Outlook 0
S Outlook 2007 - Automatic purge fail Using Outlook 0
J outlook 2007 doesn't let me choose which .pst to search Using Outlook 2
D Outlook 2007 vs. Outlook 2010 -- ToDo Bar Using Outlook 0
D Outlook 2007 on 365 Using Outlook.com accounts in Outlook 2
S Verwendung von Outlook 2007 Using Outlook 0
A Arthur needs help with 2007 Outlook e-mail Using Outlook.com accounts in Outlook 3
M PST import from Outlook 2007 to 2010 - Address Book contacts all in 1 group Using Outlook 4
S outlook 2007 calendar search Using Outlook 6
B Migrate Outlook 2007 to Office 365 Using Outlook 3
X I have met my waterloo trying to resolve embedded graphics problem with outlook 2007 and now 2016 Using Outlook 1
R Outlook 2007 only loads some appointments Using Outlook 0
C Move Outlook 2007 to new PC with Outlook 365 Using Outlook 3
J Outlook 2007 Hide Messages Option not Available Using Outlook 2
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
B Server errors Outlook 2007 Using Outlook 1
S Reboot of frozen windows7 results in changed outlook 2007 settings Using Outlook 1
S Outlook 2007 printing wrong email address at top of page Using Outlook 8
M Configure outlook 2007 to accept digital signatures Using Outlook 2
D Outlook 2007 crashes when opening an email Using Outlook 2
R New chap saying hello and needing advice on Outlook 2007 thumbnails Using Outlook 3

Similar threads

Back
Top