I am trying to find out if and how it is possible to create an Excel spreadsheet and add a checkbox as a field. I have created a spreadsheet using the spreadsheet tags already but would like to add this extra field.
Any help would be great..
Thank You
In order to add a checkbox to a spreadsheet, you need to add VB code to it. (making it excel-only, aka won't work on google docs)
It would be much easier to use true/false for column value.
Related
I have been able to use adobe document generation to map the fields from an excel data source into a word template. The excel file has columns with Yes/No values which need to map on the word template in a table.
Currently we cannot populate checkbox in the adobe document generation API and wondering if we can achieve this using python-docx
The excel data and the word table can be located in the power automate forum link below
https://powerusers.microsoft.com/t5/General-Power-Automate/Populate-Yes-No-in-word-template/m-p/1751613#M101537
Option 1 - Check the correct option in the table
Option 2 - if option 1 is not possible show the correct value in the template. i.e if the excel row has a value of Yes, hide No and vise versa
I havent used to python-docx before and appreciate any help on this please.
Thanks
I'm trying to search the website "capfriendly.com/players/" using a column of cells and import the "Cap Hit" value back into excel in the adjacent column for each.
I'm a complete beginner when it comes to programming, so I've mostly been trying to learn from previous questions such as this one: excel macro to search a website and extract results
I'm still pretty perplexed, especially with how to extract just the specific value I'm looking for. Any guidance would be greatly appreciated.
I don't know which version of Excel you work with.
Anyway you can try this :
Create a new sheet.
Go to Data in the ribbon to get external data and choose "From web".
Input the url of your page ie https://www.capfriendly.com/browse
After a moment you should retrieve "Results" data that you can load with or without structure modifications. You now have a data table in your new sheet.
You can now access it with Vlookup or similar function, with VBA code or with formulas, to put specific data on specific cells of specific sheets like you need to.
Hope it helps.
I have the following script in an Excel cell. I'm assuming this is a vba script.
{ if (value == "") {hideRow("34");Text_Boiler_Location(2)}
I've done some research and I'm not sure how to hide the active row without hardcoding the row id. I'm using a form building application that I can build custom reports. However if I change the form then it will throw of the row id in the script. I will many of these little scripts and I do not want to change the row id every time I change the form. So basically I just need to hide the active row if the value is an empty string without hardcoding it.
Can try below
ActiveCell.EntireRow.Hidden=True
This is neither vb or vba. It is a script created by the form application I use. They do not have the ability at this time to identify the active row. It has to be hard coded. Thanks for everyone's response.
I have a list on Sharepoint,and I would like to update that list from any excel sheet/file I create "Having same formatting of course". Can I achieve that? I know that you can create a List on sharepoint from an excel sheet "Table Format" but I couldn't find any solution to sync sharepoint list from any excel sheet. Shall I do some scripting to achieve that ? I'm using Excel 2010 and Sharepoint 2010
Do you need to actually do any further interactions with the SharePoint list?
If not, a solution could be to just display the excel sheeet as a Range within a page. https://msdn.microsoft.com/en-us/library/office/ee556820.aspx
Don't think you get my point. Suggesting that you do not use a list at all. Just display the excel sheet directly.
If you do need to update a list from excel, you must use scripting of some kind. Question is if you can call the script from within excel, or it must happen when uploading the excel sheet.
Perhaps if you tell the complete scenario, it is easier to help.
Since I need further interaction with the list, I have decided to go with Access, which provides an out of the box solution. Simply create a blank database and link it with the desired list on SharePoint and that would be it.
I am wondering if it is possible to hide columns based on the selection of a drop down list using excel.
For example say i have 3 columns( C1,C2,C3) and i have a drop-down list with 2 values(drop1 and drop2). When drop1 is selected from the dropdown list then show C1,C2 and hide C3. When drop2 is selected show all Columns C1,C2,C3 . Does anyone know if this is possible in excel ?
Here's an example of hiding columns via VBA. You'd need to write code much like that.
Mind you, I'm assuming that when you say "excel" you actually mean within the excel application. If you're generating the Excel file programmatically, you could easily use similar code via the OpenXML API.
Yes this is possible (very short answer).
Use VBA for it in which case you will have to link the drop down value to either a cell (and use Worksheet_Change to see if the particular cell has taken the required value for hiding the column or not (in which case hiding should be undone).