Solved

Excel formula to reference Active worksheet.

Posted on 2011-09-25
3
250 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:
Ingeborg Hawighorst earned 500 total points
ID: 36596529
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
ID: 36596537
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
ID: 36596600
Thank you for your help.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.Range Set 25 79
Excel Spacing Anomaly 4 25
sort column using vba 2 21
How to transform one row line like this in excel table 2010? 22 23
Outlook Free & Paid Tools
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
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…

832 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