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.
Related
tl;dr: Is there a way to have multiple (10+) excel Macro workbooks run the same project from a single location so that if I need to fix a bug, I don't need to fix it in every single workbook?
Long version:
My company uses excel workbooks for engineering charts. Any changes are formatted as bold and highlighted gray. We then have a revision "table" at the bottom (I say "table" because it's just some merged cells - there doesn't seem to be a way to make a separate table that doesn't follow the column sizing for the rest of the workbook, but that's a question for another day).
When we do a new revision, we have to first clear any formatting from the previous revision, make our changes (and format them), then insert a row to the revision "table", then unformat the previous revision entry and reformat our new revision entry. Then, we export the workbook as a PDF which we name according to our print naming format. However, it is easy to make mistakes when doing this because the file name must be manually entered according to the format.
To make this process less tedious/error-prone, I wrote a VB macro program to automate the above steps, among other things. It works great, and will be implemented on our charts company wide.
However, I can only do so much testing on my own - there are bound to be things I missed or can do more efficiently (I'm an engineer, not a professional programmer). And we have dozens of engineering chart spreadsheets. If we implement this and then I discover I need to fix a bug or make an improvement to part of the program, I don't want to have to fix it in every single workbook - that would take way too long and be too easy to miss a workbook!
Any advice would be appreciated.
I hope this is clear enough - please comment if additional information is required.
I have been asked to design an Excel / VBA tool which will display information on to a Summary worksheet based on user preferences. The home screen will ideally contain a top section having a number of checkboxes and dropdowns allowing the user to choose what information they would like to see: Finance, Activity & Customer Info. If the user selects Finance & Activity, this information will appear in 2 tables beneath.
The user will also see subsections i.e. Finance will include Balance & Arrears and like the above, the user can choose 1 or many of these to view information.
The dilemma I'm having is that the information is spread across different workbooks and I'm finding it difficult to find a quick and efficient method to extract data and output it to my worksheet. At the moment, I'm manually completing the process by conducting VLookups (each has a unique key) to create a Master spreadsheet and using pivots to display the information. This is too time consuming and isn't very visually appealling.
I'd like to use VBA to automate this process and have instant access to the information in the master spreadsheet based on user preferences.
It's also worth noting that this will be shared with users completely unfamiliar with Excel so I'm trying to veer away from the Drag & Drop Pivot Table approach.
If anyone has any suggestions on how I could create this system, you would be adding years on to my life.
Well, this is an extensive VBA macro that you need. I will give you some guidance on how you can start coding it.
The main idea here is to copy all data from other Workbooks and paste them in different sheets of the Workbook you are using to visualize the data and then hide these sheets. In this way, you can interact with all the data using only one Workbook.
So how do you do this? I recomend the following link:
https://www.excelcampus.com/vba/copy-paste-another-workbook/
To hide sheets use Sheets("sheet name").visible = false
To unhide sheets use Sheets("sheet name").visible = true
For the purpose of maintaining data updated, one way could be setting the macro to run when opening the file.
Check this link: https://support.microsoft.com/en-us/office/automatically-run-a-macro-when-opening-a-workbook-1e55959b-e077-4c88-a696-c3017600db44
Or you could just have a button to update.
Note: I've coded some VBA macros on Stackoverflow to move data between Workbooks that could maybe help. You can find them in the answers section of my profile.
For example, I have two worksheets in my workbook. One workbook is for data only, it has 10 columns but the number of rows can increase or decrease.
I'm able to use the paste link special function on worksheet two, to link to the current data but is there a way that I can automatically update the link so that if I add additional rows on the Data worksheet that those will also appear on the other spreadsheet?
I'm hoping I'm clear on this.
Thank you for your help.
Jim
As #jeffreyweir stated, you do need to use code for this. In this case, I used ODE in C# .net after searching stackoverflow for examples.
Jim
I have a macro that stops users from deleting rows and columns and i need to apply to between 100 and 200 excel workbooks. These sheets will be accessed daily by a large number of users in 2 different offices from a shared drive. Is there a fast way to apply the effects of this macro to all of these books at once?
Yes it's possible to add code or a module to a workbook programmatically. This article can help you get started. Let me know if you need more help. http://vbadud.blogspot.com/2008/10/programmatically-add-macro-to-excel.html. Also, you'll need to make sure your macro security settings trust access to VB project. This article explains how to do that: http://support.microsoft.com/kb/282830
We've created an API in IronPython that wraps most of the COM functionality w/r/t Excel (and Powerpoint). One of the things we have not yet implemented is the option to change the order of worksheets within a workbook once they've been created. The workflow is basically, create an Excel workbook, then add a bunch of sheets. They become out of order because we loop over similar data segments in the same loop (obviously). So, after all the worksheets are created, how can I modify the order of the sheets?
if you can even point me in the direction of an MSDN page that shows how to do this in .NET I'd appreciate it.
this also helped a great deal:
http://www.cpearson.com/excel/sortws.aspx
Did you try the Worksheets.Move method?
http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.worksheet.move%28v=vs.80%29.aspx
Looks like exactly what you need