Same Workbook Hyperlinks keep breaking - Excel - excel

I have a workbook with a mass hyperlinks; all are referring to sheets in the same workbook but they keep breaking once I save the file and reopen it.
The workbook is on a server machine just in case if this info is relevant to the problem.
I know I could use the hyperlink formula but its not applicable in my case so what's causing the hyperlinks to break constantly ?

Related

EXCEL Workbook creating phantom worksheets that can't be deleted

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

Locked Excel Cells Becoming Unlocked When Re Opened

I have a Blueprism process which is locking a column and protecting the worksheet. The cells are then locked. When the file is saved, closed and re opened the cells are no longer locked.
GetInstance(handle).Activecell.Locked = True
GetInstance(handle).ActiveSheet.Protect
Issue was I was using a CSV. Doesn't seem to work there but does in a standard Excel Workbook.
Most of these cases are related to excel Settings, not exactly the Blueprism. I would suggest trying with Options Menu in Excel workbook and Remove Recovery flags as well.
Control+A and format sheet to Text Type and Save Manually First(One Time activity). Sometimes Formatting can be the root cause.

Excel links to another workbook break after clicking Enable Editing

I have an excel workbook open which is linked to a separate excel workbook with no issues. I then open the linked workbook however can’t edit it until I ‘enable editing’. When I do this, the links in the first workbook (and all other workbooks in the chain) break – i.e. they say REF.

Default Starting Cell in new worksheet

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.

Opening Excel workbook containing macros (.xlsm) using ADO and getting macros to run

I've been using ADO to process many Excel .xls and .xlsx workbooks without any problems. Recently I tried to process a .xlsm workbook to load to an Access database. The workbook contains several macros that are run every time a user opens a desktop version of Excel. The macros update "yesterdays" data with "todays" data. Unfortunately when I read the workbook programmatically ADO is returning "yesterdays" data. This means to me that the macros are not running when I open the workbook with ADO. Any suggestions. Hope I don't need to rewrite the code to open an instance of Excel to handle the workbook.
ADO accesses only the data saved in the workbook. Nothing vba (or any other) code does dynamically when the workbook is opened in Excel is available. Excel macros can only run when the workbook is open in the application interface.
Either your process needs to duplicate what the macro(s) are doing in order to update the sheet data or, yes, indeed, you need to first open the workbook in the Excel environment and execute the macros, then SAVE the changes to the workbook.

Resources