Using Excel VBA variable for multiple workbooks -


is possible use 1 variable in excel vba across multiple workbooks? without using add-in approach? mentioned in here.

for e.g saving windows user name in var sysuser , want use variable in multiple workbooks, how can that?

thanks , best regards

ahmed

http://www.cpearson.com/excel/trulyglobalvariables.htm

this link contains 2 great solutions problem. sure drill down "hidden name" technique's link short , sweet.

here's crux of chip's hidden name solution

application.executexcel4macro("set.name(""test"",1)")

see link full details


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -