Solved

Excel formula to reference Active worksheet.

Posted on 2011-09-25
3
248 Views
Last Modified: 2012-05-12
Hi experts,

I am attempting to copy a formula from one work book to another. Both are based on the same template, i.e cell layout, worksheet tabs etc.

I noticed that in the formula I am attempting to copy from there is a reference to the workbook i.e ([workbook1.xlxs). When attempting to copy to the new workbook it still references the original workbook I have copied from. I may be way off the beaten track on this one but is there anyway I can copy the formula and make it reference the active workbook?
0
Comment
Question by:Mattywerts
3 Comments
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
Comment Utility
Hello

in the source workbook, select the formula in the formula bar and copy. Then paste it into the formula bar for the cell in the target workbook.

If you copy and paste the whole cell, this will create a link to the source workbook.

cheers, teylyn
0
 
LVL 41

Expert Comment

by:dlmille
Comment Utility
Are you coding this in VBA?  Please provide your code to do what you're doing.  There are so many options, I could write a few paragraphs, lol!

Dave

0
 
LVL 1

Author Closing Comment

by:Mattywerts
Comment Utility
Thank you for your help.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
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…

744 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

17 Experts available now in Live!

Get 1:1 Help Now