LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Could MVP's please review these Instructions

"Dave Peterson" wrote in message
...
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




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAO VBA Code MVP's! Buyone Excel Discussion (Misc queries) 4 November 11th 09 04:34 PM
to the MVP's: a Big Thank You Meenie Excel Discussion (Misc queries) 1 February 13th 09 05:20 PM
MVP's T. Valko Excel Discussion (Misc queries) 6 January 5th 07 11:26 PM
All MVP's, Try this one bondo Excel Discussion (Misc queries) 2 February 8th 06 03:56 AM
MVP's Biff Excel Discussion (Misc queries) 5 September 29th 05 05:55 AM


All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"