I want to link data from one workbook to another workbook
I have master workbook which need to be open as "RUN AS ADMINISTRATIVE" and from that master workbook I have given several link to another work sheets in different workbooks.
the issue is, if I do open master workbook as normal than, automatic link updates immediately, but when I run master workbook as an administrative then links not updating automatically.
when I open master workbook as an administrative, formula look likes this
='E:\ARSHIT IPO\MY SHEETS\O.C. ANALYSIS\OPTIONS\new\NEW\[MASTER SHEET.xlsm]MASTER'!A2
when I open master sheet as normal in such case formula look likes this
='[MASTER SHEET.xlsm]MASTER'!A2
what I have tried so far :-
I have tried enabling automatic data update option and my external data options can be checked from
below image.
I don't know where I am lacking, kindly help with this issue.Any help ll be appriciated.
While in the same workbook (Excel file), you shouldn't need to specify the name of the file.
Have you tried it like this?
=MASTER!A2
Related
Let's say I want to copy Cell C5 from workbook 2 to workbook 1. The name of workbook 2 is a variable given in Cell D1 of workbook 1.
The problem with using Excel's built-in Indirect() function is that the value disappears when workbook 2 is closed. I'm hoping there's a simple VBA macro that can do this.
Thanks in advance.
You seem not to have a lot of experience in Excel VBA, let me give you the general approach for such an exercise:
You can record macros: go to the "Developers" tab, start recording, do the thing you want to do (the copying) and stop the recording. There should be a macro, describing what you have done.
Unfortunately, when doing this, the macro will be something like this:
Source_Range.Copy
Destination_Range.Paste
Generally it is advised to replace this by something like this:
Destination_Range.Value = Source_Range.Value
Good luck and if you have any more problems while doing this, you might ask again by editing your question (I'll be following this question).
The behaviour you're observing isn't a limitation of the INDIRECT() function, but a more general limitation of Excel functions only having access to other workbooks when they're open.
You can use another workbook as a data source by selecting Data > Get Data > From File > From Workbook from the ribbon. Select the source sheet from the Navigator pane, and select Load. This will open the PowerQuery editor.
PowerQuery is an advanced topic which I won't attempt to fully address here, but the default transformation should give you a table containing data from the source worksheet, without relying on that workbook being open in another instance of Excel.
I have been unable to find a solution for this problem: When adding a new worksheet in an Excel workbook, the active cell moves to D20. This behavior is consistent across ALL workbooks that I open or use (new or opening existing workbooks). There are no macros on "ThisWorkbook" or any of the sheets. Has anyone seen this before?
Did you (or someone else) maybe create a custom sheet template?
https://www.rondebruin.nl/win/s9/win016.htm
I saved a single-sheet workbook (with D20 selected) as "sheet.xlt" in my XLSTART folder, and each time I add a new sheet in a workbook I get that same selection in the new sheet.
I've got trouble with this, I need to redirect to different workbook specific sheet. Normally, can excel redirect specific sheet on same workbook only? Is there any other option to solve it?
I look forward to solve it.
To create a formula that references a different workbook, open both workbooks then create the formula in the same fashion as referencing a different worksheet in the same workbook:
Start entering formula
Switch to the other excel window (using Alt-Tab; or windows taskbar; or View tab > Switch Windows)
Select the cells to be referenced
Switch back to original window
You should get a formula that references the other workbook like:
=[Book2.xlsx]Sheet1!$A$1
Can anyone help me out with this VBA Macros query? I want to compare a worksheet with another worksheet in a different workbook. However, I don't want to open that workbook when comparing. I just want to changes to be shown in the current worksheet that I am using.
Is there something like a temporary data storage using Macros which stores the data temporarily from another workbook, compares it without ever physically opening the workbook?
You don't need VBA for this. You can use regular worksheets formulas, even if the other file isn't open.
For example, if we want to compare cell A1 of the current worksheet to cell A1 on worksheet Sheet1 of an (open or closed) Excel workbook saved as c:\myPath\myFile.xlsm, we could use:
=IF(A1='C:\myPath\[myFile.xlsm]Sheet1'!A1,"It's a Match!","Not a Match")
More Information:
Office.com : Create an external reference (link) to a cell range in another workbook
Microsoft Press : How to Combine Data from Multiple Sources in Microsoft Excel 2016 (book excerpt)
I have a workbook (logging.xlsx) with one sheet per month. In this sheet I enter different numbers per month.
To visualize the information from the logging workbook, I want to use some charts in an external (reporting) workbook. I prefer to have these charts in an external workbook, as the format of the logging workbook is not totally under my control.
To grep information from the logging workbook I'd like to automatically sync the information into the reporting workbook. To do so I can use external references like =[logging.xlsx]July!$I$1, however, this requires to make one reporting sheet per sheet in the logging workbook which increases the maintenance work in the reporting workbook.
Hence I was wondering whether there is a way, instead of =[logging.xlsx]July!$I$1 to use something like =[logging.xlsx]*ACTIVE_SHEET*!$I$1
In D10 add the formula:
=CONCATENATE("[";$A$1;"]";$B$1;"!";ADDRESS(ROW(),COLUMN()))
In the second sheet use:
=INDIRECT(ref!D10)