---
title: "excel 拆分填充"
author: "qq1610572998"
date: "2013-04-28T09:12:55Z"
tags: []
categories: ["移动开发"]
slug: "excel"
draft: false
lastmod: "2013-04-28T09:12:55Z"
id: 1856349
url: "https://tongda.iteye.com/blog/1856349"
---

Sub 拆分填充()  
Dim x As Range  
For Each x In ActiveSheet.UsedRange.Cells  
If x.MergeCells Then  
x.Select  
x.UnMerge  
Selection.Value = x.Value  
End If  
Next x  
End Sub