Problem/use case: I work in the audit industry where audit files contain several excel workbooks. Each workbook often has multiple references to other workbooks where the same value exists to indicate to the reviewer that the amount in question across all workbooks agree.
Historically whenever a reference like this exists, the reviewer will open up the new workbook and check that the 2 values are consistent. There are several hundreds of these throughout an audit file.
Question: Is it possible to create a javascript tooltip that displays the values within the other workbooks when you hover over the cell containing the value so the reviewer does not have to manually open each individual workbook?
Any alternative solutions would are welcomed. Thank you in advance!
What i try to accomplish in Excel using VBA is to have a "original" workbook that is used to start with each time, adjusted and saved under a new name. This workbook, and all workbooks that come from it have a "client database" sheet where client data is automaticly copied in to (1 row per client, A:G). Whenever a original workbook is filled in the data is copied to the client database in that specific workbook, but then automaticly saved under another name.
Therefore i am looking for a code that opens the original workbook (done), compares the database sheet of the new file with the original and then updates the original with the new client data. (Best case they would update each other). What's important is that the whole row should be compared, as for instance one company can have different contacts.
Now my coding skills unfortunately aren't good enough to accomplish this, and i have browsed different topics to find a solution but wasn't able to find a solution that completely covers the problem (and is written simple enough for me to still understand).
Both sheets hold the same database structure and the tab is called "Klanten database".
If anyone would be able and willing to help that would be much appreciated!
I have already tried different codes from the forum, but they all focus on either columns or specific cells and are made to extract unique value's to a new list or just to highlight the differences. Or are to complicated for me to understand.. :X
Sub UpdateOriginal()
'Open original file to update
Workbooks.Open Sheets("Data inhoud").Range("J12").Value & "\original.xlsm"
'compare active database with original and update the both of them
Workbooks("original.xlsm").Close SaveChanges:=True
End Sub```
None have worked :(
I recently made an Excel workbook (with the help of Stackoverflow) where I have a regular input of data (each entry is one row with different columns). I then have a macro that extracts the data from a specified row to a different sheet and saves this sheet as a .PDF.
That way, I can extract specific data from this Excel "database" to a readable pdf. I do this because I need a paper version from specific entries.
For a different project I need to implement the same principle. The only difference is that I need to work with an .mdb file where the data is stored, instead of an Excel workbook.
Is there a way I can reuse my code from Excel or is it now a completely different story?
Thank you for the advice.
You can link your excel workbook to your Access tables. On the "DATA" ribbon there is a section for "External Data".
Once you've got the Access data displayed on one of your worksheets, you should be able to adapt your existing code accordingly.
From Microsoft:
Connect an Access database to your workbook
I am new to this stackoverflow and i can say that its a very interesting and resourceful website.
I need to share a workbook on a network and as you already know the workbook must not contain any table or XML maps but i prefer to use a table because it is an expandable range. Information are extracted from this table via formulas.
Is there any work around possible to share the workbook with the table included?
I do not want to use formula for an expandable range in order to maximize the efficiency of the workbook because there are already lots of formula in the workbook.
Besides what is the maximum number of users that can access the workbook at the same time, with each user having access to only one worksheet
Thanking you in advance for your precious help.
Best Regards
Jack
Here has:
Note first and last entries in the image.
And that it was the first hit to the Google query Excel 2010 spec
so please see also the first bullet point here.
Currently we have a Excel VBA application, which consists of 25-30 Excel sheet (and all of those sheets all hidden and we do background processing on them and display it to VBA forms UI), and we have developed a UI using VB forms. But problem we are facing is whenever we click on Save button using this code:
ThisWorkbook.Save
But this saves entire workbook not an individual sheet, so even if we make changes in single sheet it saves entire workbook and this save processing makes very slow (since it needs to save all excel sheet containing lot of data unnecessary, even if there is no changes).
My question is is there any way we can save "only one sheet in a particular excel sheet" not an entire excel file?
Note: I am a Java developer and I worked on VBA before, But it was years back, and I have forgotten bit. Any guidance would be appreciated. Or any pointers on how to handle this situation would be appreciated. Please let me know if you need any more information, I can edit this question.
What I have tried already? I did a lot of research from yesterday, I searched in previous questions on SO, but didn't get any useful information. As per my research it says we cannot do this. Am I on right path?
The short answer is no. You cannot save a single worksheet at a time.
You may want to try to reduce the amount of data in the workbook. Try storing data in several workbooks and when it is needed, open that specific workbook, make the needed changes, and then close it.
If it is necessary to have access to all data at once then consider using access or some other database.
It is also possible that the sheets have "blank data". Cells that don't contain anything in them but excel thinks they do so when saving it tries to save way more than needed.
Assuming that it is the active worksheet that you want to save then you could do something like this:
ActiveSheet.Copy
ActiveWorkbook.Close True, "path"
This copies the active worksheet which creates a new workbook which will become the active workbook. Then just call the close method on that and give it a file name.
I think you should consider splitting your application into multiple workbooks:
The workbook that contains all the logic, user forms and programming code. This workbook handles all other workbooks as well as the displaying of it. Potentially, this could be even an "Application Specific Addin", that stays dormant but activates as soon as any of it's subsequent workbooks gets opened. For this architecture approach check out the section on "Application Specific Addins" in this link.
This workobook/add-in can also hide the other workbooks, so that the user will not notice it's multiple workbooks.
One or multiple data workbooks: Depending how interlinked the data is, you can separate this, e.g. in a "Sales data" workbook which contains the large database, as "Base data" workbook, that contains all the smaller data (e.g. products or stores tables).
This way, you can reduce the saving to the "relevant" sheets. However, of course this requires quite a bit of reprogramming - but it's worth the effort, as for instance it also allows to provide updates/bug fixes without having the transfer the data between versions, as you only need to distribute the the file with programming logic. :-)