ThunderFrame

Results 51 issues of ThunderFrame

Word has approximately 950+ built-in commands that can be executed with `Application.Run "CommandName"` - See the full list by going to Developer Tab, Macros, and choose "Macros in: Word commands"....

enhancement
feature-inspections
library-specific

`Option Explicit` only applies to variables and constants in standard VBA. It doesn't apply to Compiler Constants, so the following compiles: ```vb #Const foo = NonExistentCompilerConstant #If SomeOtherNonExistentCompilerConstant Then '......

enhancement
feature-inspections
up-for-grabs
difficulty-02-ducky

Some classes require a member be called before any other usage is allowed, or before an item can be disposed, or if not called - the class isn't being used...

enhancement
discussion
feature-inspections
feature-annotations
code-path-analysis
retriage-v3

[This component doesn't support this set of events (Error 459)](https://msdn.microsoft.com/en-us/VBA/language-reference-vba/articles/this-component-doesn-t-support-this-set-of-events-error-459?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev11.query%3FappId%3DDev11IDEF1%26l%3Den-US%26k%3Dk(vblr6.chm1000459)%3Bk(TargetFrameworkMoniker-Office.Version%3Dv15)%26rd%3Dtrue) > Implements only implements an interface for methods and properties. You can't sink events for a component that doesn't source...

enhancement
feature-inspections
up-for-grabs
difficulty-02-ducky

http://shaunakelly.com/word/word-development/labelsmarttags-word-2010-workaround.html > In Word 2010, `Word.Application.Options.LabelSmartTags` always returns `False`. And Word ignores any attempt to set it to `True` or `False`.

enhancement
feature-inspections
up-for-grabs
library-specific
difficulty-02-ducky

This code is inefficient when unnecessarily accessing the x collection's Item property 999 times: ```vb For i = 1 To 1000 For j = 1 To 1000 res = x.Item(i)...

enhancement
feature-inspections
code-path-analysis
retriage-v3

A property or function that returns a non-object variable (i.e a value-type, string, UDT type, or a Variant array), is returning a **copy** of the object's data. There *are* some...

enhancement
feature-inspections
code-path-analysis
retriage-v3

RD should identify short-circuit opportunities: ``` IIf condition, funcB, funcC ``` becomes inline `If` ``` If condition Then funcB Else funcC ``` or, `If`-block ``` If condition Then funcB Else...

enhancement
feature-inspections
feature-refactorings
up-for-grabs
difficulty-02-ducky

`CDec` is defined as: ```text [helpcontext(0x0010645a)] HRESULT _stdcall CDec( [in] VARIANT* Expression, [out, retval] VARIANT* pvar ); ``` Rubberduck currently reads the declaration as having 2 parameters, `Expression` and `pvar`,...

enhancement
parse-tree-processing
resolver

The default value for an optional argument must be a "constant expression", but that constant expression can be anything that *results* in a constant expression, including operators, and certain built-in...

enhancement
feature-inspections
feature-refactorings