WrdCellRange: Return the Cell Range Of a Word Table

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/DescTools.r

Description

Return a handle of a cell range of a word table. This is useful for formating the cell range.

Usage

1
WrdCellRange(wtab, from, to)

Arguments

wtab

a handle to the word table as returned i.g. by WrdTable

from

a vector containing row- and column number of the left/upper cell of the cell range.

to

a vector containing row- and column number of the right/lower cell of the cell range.

Details

Cell range selecting might be complicated. This function makes it easy.

Value

a handle to the range.

Author(s)

Andri Signorell <andri@signorell.net>

See Also

WrdTable

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# Windows-specific example
wrd <- GetNewWrd()
WrdTable(nrow=3, ncol=3, wrd=wrd)
crng <- WrdCellRange(from=c(1,2), to=c(2,3))
crng$Select()

## End(Not run)

DescTools documentation built on June 17, 2021, 5:12 p.m.