Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Insert a command Button

I would like to insert a command button, that when clicked brings a range of
cells (say B4:B19) to equal 0 .

Can some one point me towards a tutorial?

Thank you.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Insert a command Button

Hi
try the following:
- insert a command button
- use the following code statement
activesheet.range("B4:B19").value=0


As a starting point for macros see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Regards
Frank Kabel
Frankfurt, Germany


Dustin wrote:
I would like to insert a command button, that when clicked brings a
range of cells (say B4:B19) to equal 0 .

Can some one point me towards a tutorial?

Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Insert a command Button

Thank you Frank, It works beautifully!


"Frank Kabel" wrote in message
...
Hi
try the following:
- insert a command button
- use the following code statement
activesheet.range("B4:B19").value=0


As a starting point for macros see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Regards
Frank Kabel
Frankfurt, Germany


Dustin wrote:
I would like to insert a command button, that when clicked brings a
range of cells (say B4:B19) to equal 0 .

Can some one point me towards a tutorial?

Thank you.




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
Code for my Command Button to automatically copy and insert a new tommy Excel Discussion (Misc queries) 0 January 28th 09 12:22 AM
insert row / insert column command buttons fairgreen Excel Worksheet Functions 1 October 29th 07 02:41 PM
Using a command button to insert a new row. Jared[_2_] Excel Programming 1 December 29th 03 08:43 PM
Command Button vs Control Button RGibson Excel Programming 1 October 14th 03 02:24 AM
Command Button vs Form Button T K Excel Programming 4 August 26th 03 07:26 PM


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