ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Subtotal Function (https://www.excelbanter.com/excel-programming/433637-subtotal-function.html)

steven

Subtotal Function
 
I would like to start the function:
=Subtotal(9,
and then have the system wait for my highlighting of the cells and then I
hit ENTER and it will accept the formula.

Is that possible?

Thank you,

Steven

Bob Phillips[_3_]

Subtotal Function
 
Is that what happens by default?

--
__________________________________
HTH

Bob

"Steven" wrote in message
...
I would like to start the function:
=Subtotal(9,
and then have the system wait for my highlighting of the cells and then I
hit ENTER and it will accept the formula.

Is that possible?

Thank you,

Steven




Rick Rothstein

Subtotal Function
 
??? Excel works that way now (at least on my XL2003 version)... right after
you type the comma, just click/drag the range you want and then hit the
Enter key.

--
Rick (MVP - Excel)


"Steven" wrote in message
...
I would like to start the function:
=Subtotal(9,
and then have the system wait for my highlighting of the cells and then I
hit ENTER and it will accept the formula.

Is that possible?

Thank you,

Steven



steven

Subtotal Function
 

I want to do it in a macro and set a shortcut key so I do not actually have
to type the: =Subtotal(9,

I just want to hit the shortcut key and then highlight ....... and hit ENTER.

Thank you


"Rick Rothstein" wrote:

??? Excel works that way now (at least on my XL2003 version)... right after
you type the comma, just click/drag the range you want and then hit the
Enter key.

--
Rick (MVP - Excel)


"Steven" wrote in message
...
I would like to start the function:
=Subtotal(9,
and then have the system wait for my highlighting of the cells and then I
hit ENTER and it will accept the formula.

Is that possible?

Thank you,

Steven




Rick Rothstein

Subtotal Function
 
Perhaps this will suffice instead...

Dim R As Range
Set R = Application.InputBox("Select a range to subtotal..", Type:=8)
ActiveCell.Formula = "=SUBTOTAL(9," & R.Address & ")"

--
Rick (MVP - Excel)


"Steven" wrote in message
...

I want to do it in a macro and set a shortcut key so I do not actually
have
to type the: =Subtotal(9,

I just want to hit the shortcut key and then highlight ....... and hit
ENTER.

Thank you


"Rick Rothstein" wrote:

??? Excel works that way now (at least on my XL2003 version)... right
after
you type the comma, just click/drag the range you want and then hit the
Enter key.

--
Rick (MVP - Excel)


"Steven" wrote in message
...
I would like to start the function:
=Subtotal(9,
and then have the system wait for my highlighting of the cells and then
I
hit ENTER and it will accept the formula.

Is that possible?

Thank you,

Steven





steven

Subtotal Function
 
Thank you very much. It seems like a little thing but I am so tired of
typing =Subtotal(9,.........) and I do not like using =Sum() that much
anymore. This will save me 5 seconds each time I have to use an =Subtotal()
and will trememdous brain stress. Thanks again.

"Rick Rothstein" wrote:

Perhaps this will suffice instead...

Dim R As Range
Set R = Application.InputBox("Select a range to subtotal..", Type:=8)
ActiveCell.Formula = "=SUBTOTAL(9," & R.Address & ")"

--
Rick (MVP - Excel)


"Steven" wrote in message
...

I want to do it in a macro and set a shortcut key so I do not actually
have
to type the: =Subtotal(9,

I just want to hit the shortcut key and then highlight ....... and hit
ENTER.

Thank you


"Rick Rothstein" wrote:

??? Excel works that way now (at least on my XL2003 version)... right
after
you type the comma, just click/drag the range you want and then hit the
Enter key.

--
Rick (MVP - Excel)


"Steven" wrote in message
...
I would like to start the function:
=Subtotal(9,
and then have the system wait for my highlighting of the cells and then
I
hit ENTER and it will accept the formula.

Is that possible?

Thank you,

Steven






All times are GMT +1. The time now is 07:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com