Re: Could MVP's please review these Instructions
From: Bob Phillips (bob.phillips_at_notheretiscali.co.uk)
Date: 02/29/04
- Next message: Ken Macksey: "Re: animated gif"
- Previous message: Bob Phillips: "Re: Could MVP's please review these Instructions"
- In reply to: Dave Peterson: "Re: Could MVP's please review these Instructions"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Feb 2004 15:00:55 -0000
> "Dave Peterson" <ec35720@msn.com> wrote in message
news:4041EAF7.4942EAD2@msn.com...
> Just some thoughts that you can ignore.
>
> Too many words!
>
> I've found that the longer the instructions, the more they're ignored.
>
> Put your instructions in MSWord, add some screen prints and add some white
space
> to make it easier to read.
Good stuff, someone actually addressing the OP's origiunal question - we had
all forgotten.
>
> And maybe you could modify your code so that instead of using references,
you
> could use late binding.
>
> Do all your developing with the references so you can get the VBE's nice
> intellisense, but before you release it, change your declarations to a
more
> generic "as object".
>
> And change all the constants to their actual values:
A different suggestion, declare all Excel/App/VBA constants (such as
vbReadOnly, xlHidden) as constants in your code, and then you can leave that
bit of code alone, still referencing through a constant. Like this
Const olBCC As Long = 3
Sub Macro1()
Dim olApp As Object
Set olApp = CreateObject("Outlook.Application")
Debug.Print olBCC
End Sub
- Next message: Ken Macksey: "Re: animated gif"
- Previous message: Bob Phillips: "Re: Could MVP's please review these Instructions"
- In reply to: Dave Peterson: "Re: Could MVP's please review these Instructions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|