Using Insert Hyperlink Dialog to add a link to a cell
I'm writing a small macro to add an entry to my list of calibrated tools. I want to use the insert hyperlink dialog so the user can pick a file and then the macro will add a link to that file in a...
View ArticleRemove index from Label entry
The code is taking the week input from user, search for the rows that contains that week in an excel file, write the result on a different excel file and from there in write the colums on a tkinter...
View Articlechange active cell fill color
I have a workbook with some protected sheets. Users enter data into specific cells of each sheet. I want the active cell background color to change - for example to red - when it is highlighted and...
View ArticleHow do you run a VBA loop to format each worksheet, and create a summary tab
I have a spreadsheet with 20+ worksheets listing servers. I am trying to format each sheet to pull only the first four columns of data, while preserving the original data. I am inserting 6 columns on...
View ArticleHow to go to Reference of Active cell?
I am writing code so I can easily go to the reference of 2 cells so I can update data easier. When I hit the "Ctrl[" while recording macro it goes to the reference for the active cell. How can I make...
View ArticleExcel Pivot Bar Chart should show the relevant data of the Bar upon clicking it
I am a newbie to excel and request your help. I have created a pivot Bar Chart, i have a requirement that upon clicking the Bar of the bar chart the relevant data should be shown in a new sheet of the...
View ArticleUnique Value in ListBox in Excel VBA
I have ListBox in Excel VBA form. The List is showing values from excel sheet. I want to populate only unique values. How we can populate records based on unique id for textbox, listbox and combobox...
View ArticleSpreadsheetgear - Add background color via conditional formatting
I'm trying to use conditional formatting to add a salmon background color when a cell's value exceeds a certain threshold. Here's my code:Dim condition As IFormatCondition = thisRow(0,...
View ArticleActiveX Textbox not updating until Design View is clicked
I have a lot of text boxes updating to match cell references via a macro. The macro is simple, it sets value of textbox to "", then sets it = to a cell reference (example...
View ArticleExcel VBA: Copying Pictures from image controls to activeX objects
I have a series of images that I need to display multiple times on both forms (via image controls) and on worksheets (via activeX image controls). I know that I could keep the files externally and use...
View ArticleHow to delete a column based on specific words
I am trying to filter my lists based on specific words. If a row has one of these words in it, I would like to delete the entire row.The words are "Inc, LLC, Properties, Trust, Corp, Real Estate, LTD,...
View Article.Find in this function works for the first call but will not after that
I am having an issue with this function searching for a Column header than using the column number as the reference for searching in a different sheet.Sub Search(COL_TITLE As Variant, BOMSheet As...
View ArticleFind optimal combinations subject to constraints based on different values of...
I'd like to obtain the optimal combination of Skill_ID's from my dataset below, that are subject to 1 constraint based on different values for each of the 3 columns: 30 on Speed, 30 on Flexibility, and...
View Article"Employee shift table constructing with some criteria by days of a month"...
I m trying to find vba codes for preparing shift table randomly picking a day in a month for 6 person constructing with a few criteria. I have given a try but it almost freezing my laptop.Explanation...
View Articlehow to change format of date from mm/dd/yyyy to dd-mmm-yyyy in MS Excel
I need to upload data onto a software from my excel sheet. however the format of is not changing from mm/dd/year (e.g 08/28/18) to dd-mmm-year (e.g 28-Aug-2018 or 28-Aug-18) please assist.
View ArticleExcel formula: How to concatenate multiple match results addresses (instead...
First of all thanks for reading my post and for trying to help me.I would like to know if it is possible to match multiple values from a column and concatenate (separated by a comma for instance) their...
View ArticleImported .csv file with formulas
I have imported a comma seperated csv file using powershell. I gets imported and looks as it should. The problem is, the cells contain formulas. Like =20+50+70. It doesn't get calculated unless i click...
View ArticleSpreadsheetgear - collapse detail rows and show only summary
I have a summary row followed by 6 rows of details. I've grouped the detail rows and assigned them to OutlineLevel = 2. I'm trying to hide the detail rows by default so that my summary rows are the...
View ArticleOffice script, Delete range name ignored, no errors
I just created this tiny Office script:async function main(context: Excel.RequestContext) { context.workbook.names.getItem("Newname").delete; } The range name 'Newname' exists in the current workbook,...
View ArticleOpenXml creates corrupted excel when there are large amount of row
I'm implemented this method to create an excel spreadsheet using openxml. It works 100% of the time when the number of rows are under around 15000 rows otherwise the excel will sometimes come out...
View Article