View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Share global variable between workbooks

If you have a set of workbooks that are all open at the same time, just
assign some cell in one of the workbooks to hold the variable. This way VBA
can retrieve/modify the variable just like any other cell.

An alternative is to assign some registry key to hold the variable and use
savesetting/getsetting
--
Gary''s Student - gsnu200810