#1   Report Post  
Posted to microsoft.public.word.tables
[email protected] dheeranrana@gmail.com is offline
external usenet poster
 
Posts: 2
Default Merging cell.

hi,

i m having problem while merge cell to allready a merged cell.

Sub selectingmergedcell()

For i = 2 To Range("IV" & 6).End(xlToLeft).Column
If Not Cells(6, i).Value = "" Then

For j = 2 To Range("IV" & 7).End(xlToLeft).Column

If Cells(7, j).Value = "Oct'08" Then

For k = i To j

Cells(6, k).Merge

Next

End If

Next j

End If

Next i

End Sub



above code is not working.....help me its urgent.


thanks and regards,
Dheeran
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel cell-formatting lost when mail-merging under Office 2007 Ron West Mailmerge 3 November 12th 08 03:51 PM
Phantom Borders caused by merging cells? Or cell alignment? danhattan Tables 0 July 25th 07 03:38 PM
How do I move from cell to cell iin a table column in Word 2003? MOSwannabe Tables 4 January 26th 06 10:17 PM
Carrying Excel cell properties into word when mail merging RIPage Mailmerge 1 April 26th 05 09:21 AM
How do I auto copy data from cell in a word table to another cell. Nev New Users 1 February 4th 05 08:51 PM


All times are GMT +1. The time now is 06:41 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"