We help IT Professionals succeed at work.
Get Started

Adjustment to Macro for formula instead of data

Bright01
Bright01 asked
on
76 Views
Last Modified: 2016-02-12
I have a macro that takes data/content from a cell when it changes and moves it to another WS.  Fairly simple.  BUT, the problem I have is that if I have a formula in the cell (B5), it will not pass the change over.

Thank you in advance.  B.

Private Sub Worksheet_Change(ByVal Target As Range)
       Application.ScreenUpdating = False
Select Case Target.Address
    Case "UseCase"
       End Select
       On Error GoTo 0
    Application.ScreenUpdating = True
'    End Select
If Not Intersect(Target, Range("B5")) Is Nothing Then
            Sheets("Financial Business Case").Range("e40") = Target.Value
        End If
End Sub
Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2016
Commented:
This problem has been solved!
Unlock 3 Answers and 8 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE