Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Increase and decrease the row height

Hi

i have a file and i try to find a macro to increase the height of the row
with a button
and also other one to decrease the height.

On every single must to increase the height 5 by 5 size.

I hope is clear my question...

Any one can help me.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 105
Default Increase and decrease the row height

purplemx wrote:
Hi

i have a file and i try to find a macro to increase the height of the row
with a button
and also other one to decrease the height.

On every single must to increase the height 5 by 5 size.

I hope is clear my question...

Any one can help me.


-------------

Have you tried to record a macro while you do what you want manually, then go in
and look at the VBA created by the macro recorder?

Bill
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Increase and decrease the row height

Hi Purplemx.

Try:

'=============
Private Sub CommandButton1_Click()
With ActiveCell
..RowHeight = .RowHeight + 5
End With
End Sub
'<<=============


'=============
Private Sub CommandButton2_Click()
With ActiveCell
..RowHeight = .RowHeight - 5
End With
End Sub
'<<=============


---
Regards,
Norman



"purplemx" <u18108@uwe wrote in message news:5af16d8a1ad84@uwe...
Hi

i have a file and i try to find a macro to increase the height of the row
with a button
and also other one to decrease the height.

On every single must to increase the height 5 by 5 size.

I hope is clear my question...

Any one can help me.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Increase and decrease the row height

Thanks.

Really works

it is what i was looking...

--
purplemx

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200601/1
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Increase and decrease the row height

Yes

But i was needing something else...

--
purplemx

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200601/1
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
Percentage Increase/Decrease ianonline Excel Discussion (Misc queries) 2 June 25th 06 04:07 AM
increase/decrease decimal cbfinancial Excel Worksheet Functions 2 April 10th 06 10:43 PM
% of increase or decrease Neil R Excel Discussion (Misc queries) 9 November 27th 05 03:13 AM
How do I set a cell that can increase but never decrease? Rich Excel Discussion (Misc queries) 2 November 2nd 05 06:04 PM
Value Increase/Decrease/No Change Michael Excel Worksheet Functions 1 November 5th 04 11:32 AM


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

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

About Us

"It's about Microsoft Excel"