Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default format border by group

Dear Guru(s):

I need to format excel sheet to give each group of rows a
bold border line, each group may have different number of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default format border by group

How are these groups formed? Are they automated
subtotals? Subtotals manually entered, etc. Are there any
other blank rows besides or inside a group? Are they
separated by a blank row?

-----Original Message-----
Dear Guru(s):

I need to format excel sheet to give each group of rows

a
bold border line, each group may have different number

of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default format border by group

I doubt you can do it with conditional formatting - at least not without an
extensive formula specific to the location of the row.

to actually create the border, you could use the borderaround property of
the range object.

As Dave has indicated, you don't give any indication how a group of rows is
defined.

--
regards,
Tom Ogilvy


"jackie" wrote in message
...
Dear Guru(s):

I need to format excel sheet to give each group of rows a
bold border line, each group may have different number of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie




  #4   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default format border by group

David:
Thanks for your quick response and help, I am sorry I
didn't make my question clear:

Here is the data and the format I want
Item
--------
A123
A123
--------
B231
B231
B231
--------
C123
C123
--------
D123
D123
D123
D123
---------

A border(here is the dot line) be formated by each group
of Item, don't want do subtotals, and they are not
separated by blank row and there should have not blank row
inside each group.

Hope this make my question clear, and many thanks for your
effort to help,

Jackie

-----Original Message-----
How are these groups formed? Are they automated
subtotals? Subtotals manually entered, etc. Are there any
other blank rows besides or inside a group? Are they
separated by a blank row?

-----Original Message-----
Dear Guru(s):

I need to format excel sheet to give each group of rows

a
bold border line, each group may have different number

of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie


.

.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default format border by group

You could do that with conditional formatting (if you can give up the bold
border and settle for a thin one).

Select Row 1 to to the last row with a value. A1 is the active cell

In conditional formatting, change Cell is to Formula is in the drop down

put in a formula like

=$A2<$A1

then click the format button and in the border tab select a bottom border of
your choosing.


--
Regards,
Tom Ogilvy


wrote in message
...
David:
Thanks for your quick response and help, I am sorry I
didn't make my question clear:

Here is the data and the format I want
Item
--------
A123
A123
--------
B231
B231
B231
--------
C123
C123
--------
D123
D123
D123
D123
---------

A border(here is the dot line) be formated by each group
of Item, don't want do subtotals, and they are not
separated by blank row and there should have not blank row
inside each group.

Hope this make my question clear, and many thanks for your
effort to help,

Jackie

-----Original Message-----
How are these groups formed? Are they automated
subtotals? Subtotals manually entered, etc. Are there any
other blank rows besides or inside a group? Are they
separated by a blank row?

-----Original Message-----
Dear Guru(s):

I need to format excel sheet to give each group of rows

a
bold border line, each group may have different number

of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie


.

.





  #6   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default format border by group

Thanks a lot, I will try!
-----Original Message-----
You could do that with conditional formatting (if you can

give up the bold
border and settle for a thin one).

Select Row 1 to to the last row with a value. A1 is the

active cell

In conditional formatting, change Cell is to Formula is

in the drop down

put in a formula like

=$A2<$A1

then click the format button and in the border tab select

a bottom border of
your choosing.


--
Regards,
Tom Ogilvy


wrote in message
...
David:
Thanks for your quick response and help, I am sorry I
didn't make my question clear:

Here is the data and the format I want
Item
--------
A123
A123
--------
B231
B231
B231
--------
C123
C123
--------
D123
D123
D123
D123
---------

A border(here is the dot line) be formated by each group
of Item, don't want do subtotals, and they are not
separated by blank row and there should have not blank

row
inside each group.

Hope this make my question clear, and many thanks for

your
effort to help,

Jackie

-----Original Message-----
How are these groups formed? Are they automated
subtotals? Subtotals manually entered, etc. Are there

any
other blank rows besides or inside a group? Are they
separated by a blank row?

-----Original Message-----
Dear Guru(s):

I need to format excel sheet to give each group of

rows
a
bold border line, each group may have different number
of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie


.

.



.

  #7   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default format border by group

Thanks a lot, I will try!
-----Original Message-----
You could do that with conditional formatting (if you can

give up the bold
border and settle for a thin one).

Select Row 1 to to the last row with a value. A1 is the

active cell

In conditional formatting, change Cell is to Formula is

in the drop down

put in a formula like

=$A2<$A1

then click the format button and in the border tab select

a bottom border of
your choosing.


--
Regards,
Tom Ogilvy


wrote in message
...
David:
Thanks for your quick response and help, I am sorry I
didn't make my question clear:

Here is the data and the format I want
Item
--------
A123
A123
--------
B231
B231
B231
--------
C123
C123
--------
D123
D123
D123
D123
---------

A border(here is the dot line) be formated by each group
of Item, don't want do subtotals, and they are not
separated by blank row and there should have not blank

row
inside each group.

Hope this make my question clear, and many thanks for

your
effort to help,

Jackie

-----Original Message-----
How are these groups formed? Are they automated
subtotals? Subtotals manually entered, etc. Are there

any
other blank rows besides or inside a group? Are they
separated by a blank row?

-----Original Message-----
Dear Guru(s):

I need to format excel sheet to give each group of

rows
a
bold border line, each group may have different number
of
rows. is it achievable in conditional format?

How can I achieve that in a macro?


Thanks in advance,

Jackie


.

.



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Group box border visibility control teishin Excel Discussion (Misc queries) 2 October 31st 06 06:51 PM
Conditional Format - Outline Border Drahos Excel Worksheet Functions 2 February 1st 06 09:42 AM
Strange border format. Rodney New Users to Excel 16 May 10th 05 07:55 AM
border color in forms group box Yvette Excel Discussion (Misc queries) 1 December 10th 04 11:13 PM
Group Box Border Jason Excel Programming 6 March 6th 04 04:10 AM


All times are GMT +1. The time now is 10:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"