Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Excel formula to reference Active worksheet.

Posted on 2011-09-25
3
254 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 42

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

828 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