Macro which adds 1 to a range of cells on different sheets

Ian1976

Board Regular
Joined
Feb 4, 2016
Messages
137
Office Version
  1. 365
Platform
  1. Windows
Morning guys,

I have a workbook with 3 worksheets(tabs) and on the 1st sheet I am using a cmd button to change the sheet once clicked to change a cell with the time in it from 0600 to 1530, is it possible that every time I click the cmd button and it changes the time to 0600 it adds 1 to a different range of cells on each sheet? Sheet 1 ("M4:M30") Sheet 2 ("L3:L44") Sheet 3 ("G2:G13")

Thanks! :oops:
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
if all the cells show the identical value then you only need to link them i.e go to sheet and type = then navigate to the reference and enter
 
Upvote 0
Thanks Mole999 the cells in the specified ranges sometimes have different values! ??
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top