Hi,

I've been using word for a long time and had set up macros to do signatures for letters, but in the last couple of weeks every so often they don't work, and now they never work!!

This is the code:

Sub Chris()
'
' Chris Macro
' Macro recorded 27/04/2005 by Jenni Parton
'
Selection.TypeParagraph
Selection.TypeText Text:="With best wishes,"
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeText Text:="Yours sincerely,"
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeText Text:="Ven Chris Skilton"
End Sub

And this is what I get when I try and use it:

Compile error:
Invalid character
*click ok*

And this is what's in the Microsoft Visual Basic:
ࡱá

I can't figure out what's going wrong. I have deleted and re'recorded and set them, but this is all I get. Is there something wrong with the code I'm not seeing?

Thanks!!

Jenni

Recommended Answers

All 2 Replies

Thanks. It didn't work, but I need that info for something else! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.