Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Enter a number to the same cell for all sheets


Enter a number into an active Cell and want the same cell in every othe
sheet has the same number entered. Does anyone know how to do this b
using form

--
minrufen
-----------------------------------------------------------------------
minrufeng's Profile: http://www.excelforum.com/member.php...fo&userid=2620
View this thread: http://www.excelforum.com/showthread.php?threadid=51543

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Enter a number to the same cell for all sheets

You could try calling the following code from the on change event or from a
button object:

Sub EnterNumber(nbr As Integer)

Dim oWorkSheet As Worksheet

For Each oWorkSheet In ActiveWorkbook.Worksheets
oWorkSheet.Activate
Range("A1").Activate
ActiveCell.FormulaR1C1 = nbr
Next
End Sub

"minrufeng" wrote:


Enter a number into an active Cell and want the same cell in every other
sheet has the same number entered. Does anyone know how to do this by
using form?


--
minrufeng
------------------------------------------------------------------------
minrufeng's Profile: http://www.excelforum.com/member.php...o&userid=26208
View this thread: http://www.excelforum.com/showthread...hreadid=515438


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
enter data in 1 cell and produce a number in another cell Towboat Girl Excel Worksheet Functions 1 February 3rd 10 01:54 AM
Enter data from same cell in different sheets into a new sheet Phippsy Excel Worksheet Functions 2 November 23rd 09 01:20 PM
Auto Enter a Number into a Cell Glenn Excel Discussion (Misc queries) 6 August 28th 09 03:36 PM
Enter number in cell and have it divide by 4 Chey Excel Discussion (Misc queries) 10 September 19th 07 03:08 AM
You Must Enter A Number In This Cell la90292 Excel Discussion (Misc queries) 3 December 4th 04 07:46 PM


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