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.
Related
I have an Excel workbook with some VBA code in modules and in the worksheets. As I use the workbook, Excel will suddenly create ghost/phantom worksheets that can't be deleted. IN the screen shot below the original works sheets, Sheet17 (Main Menu ) and Sheet 25 (Results) ended up getting duplicated (Sheet17, Sheet171, Sheet1711, Sheet 17111; Sheet25, Sheet251, Sheet2511, Sheet25111, etc). The version less than Sheet17111 are ghost worksheets (notice the different icon) that can not be deleted. The VBA code for those worksheets stayed with the latest version of the worksheet (ie. Sheet17111).
The only way to get rid of the ghost worksheets is to save the workbook as an xlsx, close the workbook open up the xlsx, copy over the worksheet code and modules and save out the xlsm. Of course this only corrects the problem until the next occurrence
I am not calling any special addins.
Any tips on what I can try to correct this problem.
Ian
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
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
Working with Python 2.7 and I'd like to add new sheets to a current Excel workbook indexed to a specific position. I know Openpyxl's create_sheet command will allow me to specify an index for a new sheet within an existing workbook, but there's a catch: Openpyxl will delete charts from an existing Excel workbook if opened & saved. And my workbook has charts that I don't wish to be deleted.
Is there another way I can open this workbook, create a a few blank sheets that are located precisely after the existing first sheet, all without deleting any of the workbook's charts?
openpyxl 2.5 includes read support for charts
I have a macro that deletes a sheet and replaces it with another. This new sheet is, infact, copied from another workbook. The old sheet contains some buttons. The macro creates the same buttons in the new sheet.
The macro itself is located in a module in the workbook and neither the old sheet nor the new one contain any macros.
One of these buttons is used to run the macro. When the macro is run directly from VBA editor, it runs fine without errors. But when the button on the old sheet is used to run the macro, excel crashes at the line where the old sheet is being deleted.
I understand that this may be because deleting the sheet somehow messes up the macro reference. But I can't move the button to another sheet. So how can I fix this issue?
Any help will be greatly appreciated.