vba - Access Dictionary Data Type from Word -


i need access dictionary data type microsoft word. added reference scripting library, word has it's own dictionary data type can't turn off or put it's priority lower. confuses desired dictionary, decided use trick:

sub routine()     dim t     t = createobject("scripting.dictionary")      ' processing... end sub 

it works, think knowledge power, , don't late binding, please tell me how access dictionary data type word.

using full name of class scripting.dictionary should resolve ambiguity of dictionary class consider.

sub routine()     dim d scripting.dictionary     set d = new scripting.dictionary      debug.print typename(d) end sub 

in way same doing while using createobject.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -