Capturing excel data into a Python dictionary
I have an excel spreadsheet that has information regarding all atoms that are within 4 Angstroms of a chlorophyll b pigment. I would like to capture the data in the spreadsheet to make a plot of how...
View ArticleWorksheet_Deactivate fails when a specific sheet is clicked
Worksheet "A" has a Worksheet_Activate sub which resizes the window (if window in Normal state). Worksheet "A" has a Worksheet_Activate sub which resets to the size when the sheet was...
View ArticleTrying to Translate Data Validation in from VBA to VB.NET
I have some code where I am trying to build a data validation box. I have setup on how I want it in VBA, but I am unsure on how this is supposed to look in VB.NetI am using this as a guide from Davy C...
View ArticleSort command for a .txt file not operating in a VBA Shell
I believe I've replicated the stachoverflow recommended code to sort a .txt file using VBA in Excel. The following is the relevant code from my program. It processes this code without error but does...
View ArticleInsert Signature in Outlook Email
I found this code, but it doesn't include the signature. In all the resources I've read, I couldn't come up with a solution.Public Function Email_Test() Dim MyOutlook As Outlook.Application Dim MyMail...
View ArticleHow to append text as "ALL" in the first blank cell in each column? [on hold]
I am new to VBA. I want to insert text- "ALL" in the end of each column where the first black cell is found.My data is in this format
View ArticleChange values to lowercase before importing to Django
I am using Django Import-Export to import data from an excel(xlsx) file to my Django Models. What I have works but I want it to consider strings with characters that have different cases to be the...
View ArticleHow can I find value if 3 continuance data available in one row of EXCEL
I have data like below:I need to find first date if 3 continuance none zero data available.Out put should be like below:I can find first place that none zero data available but not know how to check 3...
View ArticleProgrammatically Edit a Protected microsoft Excel Sheet
I want to programmatically change the values of Drop Down Entries in a protected XLS . There are some 1000+ entries with value set to TBD and these entries are not in a sequence . Doing a CTRL-H...
View ArticleMock banking application including magnetic card reader
import csv import datetime import getpass import os full_date = str(datetime.datetime.now()) print(full_date) while True: while True: while True: try: ID = getpass.getpass(prompt = 'Please swipe your...
View ArticlePython XlsxWriter conditional format several cells conditioned on the value...
I would like to highlight the entire row of a table (excluding the index) if the value in the first column is more than 7. I am currently able to highlight the first cell with the following code:import...
View ArticleConsolidate relevant information from inventory books into an order
I am working with Google Sheets/Excel to take location inventories and turn them into an order. Each type of item has a block that references the name and quantity in the inventory and puts it on the...
View ArticleIs there a way to automatically extract a row into another spreadsheet if the...
I am trying to run a formula that does the following:I have three columns, an account number, recorded amount, and the actual amount. What I'm trying to do is this, if the actual amount is not equal to...
View ArticleHow to insert output of a python for loop into an excel column?
I'm trying to use a for loop to populate data in a destination column in an excel spreadsheet. The destination column gets made but then the information from the for loop doesn't print into the excel...
View ArticleAutomaticaly create a windows folder to store Outlook e-mail attachments
I have a code that works perfectly when I run it in VBA/EXCEL. I created a module, and wrote the code below.When I run the macro, It takes every e-mail in the outlook folder and create a new folder for...
View ArticleAdding Worksheet_activate and _deactivate to an existing sheet using
I found Siddharth Rout's great code for adding a new sheet and code for it, but my need is a touch different.I want to add Activate code to an existing worksheet. I tried substituting that sheets name...
View ArticleCan someone help me with inserting a row using my userform vba code?
I have created a userform and set all fields for data to populate on 'submit' command button. This 'populate' is using a separate sheet command that finds the last row with data in a field and tells my...
View ArticleHow to prevent Excel change automatically text to date?
Excel always automatically change my data source into date once imported, which drives me crazzzzzy.Here is the issue: My data source stores combinations in a form of #-#-#, eg. 1-2-3. Whenever I...
View ArticleHow to loop over multiple collections and write all to same Excel workbook...
I am trying to loop over several collections in BLUE PRISM and write them to excel in the same workbook. possibly each in a different worksheet. I have set the collections as a single row data to the...
View ArticleUnable to Reference Pivot Table Sufficiently in Excel
I have a Pivot Table with Participant names and 3 columns that associate with it. Of the 3 columns many are blank depending on the data presented. I am referencing the pivot table in 2 ways and neither...
View Article