powered by
Look for a running Word instance and return its handle. NULL is returned if nothing's found.
NULL
GetCurrWrd() GetCurrXL()
a handle (pointer) to the running Word, resp. Excel instance.
GetNewWrd, IsValidHwnd
GetNewWrd
IsValidHwnd
# NOT RUN { # Windows-specific example x <- rnorm(100) wrd <- GetCurrWrd() if(IsValidHwnd(wrd)){ Desc(x, wrd=wrd) } else { print("GetCurrWrd: no running word instance found...") } # }
Run the code above in your browser using DataLab