openxlsx icon indicating copy to clipboard operation
openxlsx copied to clipboard

Feature Request: Writing to named regions

Open deanchen opened this issue 8 years ago • 3 comments

Would be very helpful if it is also possible to write to named regions. Would also be helpful to return the cell range and sheet id in the getNamedRegions response.

The use case is populating existing Excel templates containing named regions from R.

deanchen avatar Jan 19 '17 04:01 deanchen

Reopened - write to named region functionality

awalker89 avatar Jan 22 '17 00:01 awalker89

@awalker89 I see that this feature is almost done except for the deleteNamedRegions function (re #264) which is announced for version 4.1.0 but not really included. Could you please advise? thanks!

bilydr avatar Jan 02 '19 22:01 bilydr

I need similar to overwrite printArea

createNamedRegion(
  wb = wb, sheet = sh, 
  rows = 1:n, cols = 1:n, 
  name = "_xlnm.Print_Area"
)

capitantyler avatar Aug 08 '19 17:08 capitantyler