# Merging and formatting cells in Excel from Julia

**URL:** <https://discourse.julialang.org/t/merging-and-formatting-cells-in-excel-from-julia/18786>\
**Category:** General Usage\
**Tags:** question, package, xlsx\
**Created:** [December 18, 2018, 7:44am UTC](https://discourse.julialang.org/t/merging-and-formatting-cells-in-excel-from-julia/18786 "2018-12-18T07:44:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jaakkor2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jaakkor2/32/2540_2.png) [@jaakkor2](https://discourse.julialang.org/u/jaakkor2)\
**Post date:** [December 18, 2018, 7:56am UTC](https://discourse.julialang.org/t/merging-and-formatting-cells-in-excel-from-julia/18786/2 "2018-12-18T07:56:00Z")

</div>

PyCall and openpyxl work fine, something like

```julia
# using Conda; Conda.add("openpyxl")
using PyCall
@pyimport openpyxl
wb = openpyxl.Workbook()
ws = wb[:create_sheet](title="Test1")
ws[:merge_cells]("A1:D3")
wb[:save]("test.xlsx")

```

---

_[View the full topic](https://discourse.julialang.org/t/merging-and-formatting-cells-in-excel-from-julia/18786)._
