melewie
Board Regular
- Joined
- Nov 21, 2008
- Messages
- 188
- Office Version
- 365
- Platform
- Windows
Before I start yes I have merged cells!!! This was never meant to be used with macros, but the people have spoken and I dislike them <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" oreferrelative="t" o:spt="75" coordsize="21600,21600"> <v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><vath o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></vath><?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><v:shape id=_x0000_i1025 style="WIDTH: 12pt; HEIGHT: 12pt" alt="0" type="#_x0000_t75"><v:imagedata o:href="http://www.mrexcel.com/forum/images/smilies/biggrin.gif" src="file:///C:\Users\U522393\AppData\Local\Temp\msohtmlclip1\01\clip_image001.gif"></v:imagedata></v:shape><o></o>
<o></o>
Problem I am having is I have a named range 'Populate_RNG' which covers exactly 1 gazillion cells and contains merged cells <v:shape id=_x0000_i1026 style="WIDTH: 11.25pt; HEIGHT: 11.25pt" alt="0" type="#_x0000_t75"><v:imagedata o:href="http://www.mrexcel.com/forum/images/smilies/icon_mad.gif" src="file:///C:\Users\U522393\AppData\Local\Temp\msohtmlclip1\01\clip_image002.gif"></v:imagedata></v:shape><o></o>
<o></o>
So the code
doesn’t work!!<o></o>
<o></o>
Is there a way around this as reformatting the sheet would be a nightmare and I want to go home soon!<o></o>
<o></o>
Any help would be great<o></o>
<o></o>
Problem I am having is I have a named range 'Populate_RNG' which covers exactly 1 gazillion cells and contains merged cells <v:shape id=_x0000_i1026 style="WIDTH: 11.25pt; HEIGHT: 11.25pt" alt="0" type="#_x0000_t75"><v:imagedata o:href="http://www.mrexcel.com/forum/images/smilies/icon_mad.gif" src="file:///C:\Users\U522393\AppData\Local\Temp\msohtmlclip1\01\clip_image002.gif"></v:imagedata></v:shape><o></o>
<o></o>
So the code
Code:
Range("Populate_RNG").ClearContents
<o></o>
Is there a way around this as reformatting the sheet would be a nightmare and I want to go home soon!<o></o>
<o></o>
Any help would be great<o></o>