Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default subtotal bold

How can I have the entire ROW in the subtotal routine BOLD?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default subtotal bold

Hi

Rows(X).entirerow.font.bold=true

where X is the row number.

Regards,

Per

"Helmut" skrev i en meddelelse
...
How can I have the entire ROW in the subtotal routine BOLD?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default subtotal bold

No need for Entirerow

Rows(X).font.bold=true

Rows is the entire row


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Per Jessen" wrote in message
...
Hi

Rows(X).entirerow.font.bold=true

where X is the row number.

Regards,

Per

"Helmut" skrev i en meddelelse
...
How can I have the entire ROW in the subtotal routine BOLD?





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default subtotal bold

What I have is this:

Range("A11").Select
Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(4, 5,
6, 7, _
8, 9, 10), Replace:=True, PageBreaks:=False, SummaryBelowData:=True

I don't know "X". it is determined by the above sugtotal routine. where the
subtotal row should be entirely bold.

"Bob Phillips" wrote:

No need for Entirerow

Rows(X).font.bold=true

Rows is the entire row


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Per Jessen" wrote in message
...
Hi

Rows(X).entirerow.font.bold=true

where X is the row number.

Regards,

Per

"Helmut" skrev i en meddelelse
...
How can I have the entire ROW in the subtotal routine BOLD?






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default subtotal bold

Then Helmut right an additional line of code to find the bottom row and use
the cide the boys (assumption) gave you

ie
Range("a11").select
Selection.End(xlDown).Select
X=Activecell.Row

Then use the other stuff to make bold.
Aloha
Jeff

"Helmut" wrote in message
...
What I have is this:

Range("A11").Select
Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(4, 5,
6, 7, _
8, 9, 10), Replace:=True, PageBreaks:=False, SummaryBelowData:=True

I don't know "X". it is determined by the above sugtotal routine. where
the
subtotal row should be entirely bold.

"Bob Phillips" wrote:

No need for Entirerow

Rows(X).font.bold=true

Rows is the entire row


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"Per Jessen" wrote in message
...
Hi

Rows(X).entirerow.font.bold=true

where X is the row number.

Regards,

Per

"Helmut" skrev i en meddelelse
...
How can I have the entire ROW in the subtotal routine BOLD?









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default subtotal bold

Hi Dude,
Subtotals...there are many and only one GRAND Total which is the LAST.
I need to BOLD the SUBTOTAL-LINEs of which there are many and NOT at the
bottom.


"Dude Ranch" wrote:

Then Helmut right an additional line of code to find the bottom row and use
the cide the boys (assumption) gave you

ie
Range("a11").select
Selection.End(xlDown).Select
X=Activecell.Row

Then use the other stuff to make bold.
Aloha
Jeff

"Helmut" wrote in message
...
What I have is this:

Range("A11").Select
Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(4, 5,
6, 7, _
8, 9, 10), Replace:=True, PageBreaks:=False, SummaryBelowData:=True

I don't know "X". it is determined by the above sugtotal routine. where
the
subtotal row should be entirely bold.

"Bob Phillips" wrote:

No need for Entirerow

Rows(X).font.bold=true

Rows is the entire row


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"Per Jessen" wrote in message
...
Hi

Rows(X).entirerow.font.bold=true

where X is the row number.

Regards,

Per

"Helmut" skrev i en meddelelse
...
How can I have the entire ROW in the subtotal routine BOLD?








  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default subtotal bold

Record a macro when you hide the details
Select the range you want bold
Edit|goto|special|visible cells onl
Format the selection to bold

And you'll have code that should work ok.

Helmut wrote:

How can I have the entire ROW in the subtotal routine BOLD?


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default subtotal bold

Hi dave,
Can you translate this to Excel2007?

"Dave Peterson" wrote:

Record a macro when you hide the details
Select the range you want bold
Edit|goto|special|visible cells onl
Format the selection to bold

And you'll have code that should work ok.

Helmut wrote:

How can I have the entire ROW in the subtotal routine BOLD?


--

Dave Peterson

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default subtotal bold

First you need to have the Developer tab showing.

Click the big orange Office button, then the Excel Options button. Select
Popular from the left pane, and then check 'Show Developer tab in the
Ribbon'.

You then have access to record as in pre-2007 Excel in the Code group.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Helmut" wrote in message
...
Hi dave,
Can you translate this to Excel2007?

"Dave Peterson" wrote:

Record a macro when you hide the details
Select the range you want bold
Edit|goto|special|visible cells onl
Format the selection to bold

And you'll have code that should work ok.

Helmut wrote:

How can I have the entire ROW in the subtotal routine BOLD?


--

Dave Peterson



  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default subtotal bold

There are shortcuts to do the equivalent of edit|goto (in xl2003):

You could hit the F5 key or hit ctrl-g.



Helmut wrote:

Hi dave,
Can you translate this to Excel2007?

"Dave Peterson" wrote:

Record a macro when you hide the details
Select the range you want bold
Edit|goto|special|visible cells onl
Format the selection to bold

And you'll have code that should work ok.

Helmut wrote:

How can I have the entire ROW in the subtotal routine BOLD?


--

Dave Peterson


--

Dave Peterson


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
Alphabetically list of names BOLD and NOT bold Lerner Excel Discussion (Misc queries) 13 March 1st 09 02:37 PM
Bold & add line after subtotal row PHisaw Excel Worksheet Functions 9 September 7th 07 08:22 PM
Excel subtotal function- put subtotals in bold text EPMMGR06 Excel Discussion (Misc queries) 2 August 31st 06 05:47 PM
excel subtotal funtion how do you get the result in bold type? Avtarstew Excel Worksheet Functions 1 May 4th 06 01:30 PM
Join bold and non-bold text in one cell bkincaid Excel Discussion (Misc queries) 3 March 21st 06 12:58 AM


All times are GMT +1. The time now is 12:08 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"