Solved

Populate like cells across worksheets without a command button

Posted on 2014-04-20
4
233 Views
Last Modified: 2014-04-20
Folks,
I have a workbook with worksheets labeled
Consolidate
Jan13
Feb13
.
.
Dec14
In Jan13 at M2 my client wants to enter a number and have that number populate to all other worksheets except Consolidated (fortunately ALL other worksheets are identical) at the same cell location in other worksheets. In other words, go to M2 in Jan13, enter in XXXX and all other worksheets at M2 will have XXXX
I showed him that all he needs to do is select all sheets except Consolidated, go to M2 and enter what he wants. He does not want to do that, not can I use a command button.
0
Comment
Question by:Frank Freese
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Raheman M. Abdul earned 250 total points
ID: 40011739
You need to do the following only once.
Select cell M2 of Feb13 Cell and control+click all the sheets except cosolidated and the Jan13 sheets and type the following formula :

=Sheet1!$M$2

Whenever user enters some data in Jan13's M2 cell then it will copy automatically in all the sheets except consolidated sheet as required
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 250 total points
ID: 40011753
Or try this macro

Right-click on the sheet tab name for Jan13
select view code
paste this code in the VBA window
Close the VBA window

Private Sub Worksheet_Change(ByVal Target As Range)
    Dim ws As Worksheet
    If Target.Address = Range("M2").Address Then
        For Each ws In ThisWorkbook.Worksheets
            If ws.Name <> "Consolidate" Then
                ws.Range("M2").Value = Target.Value
            End If
        Next ws
    End If
End Sub
0
 

Author Comment

by:Frank Freese
ID: 40011759
OK...after church I'll look at both of those
0
 

Author Closing Comment

by:Frank Freese
ID: 40011775
Thank folks - - -
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now