Excel VBA - Data Validation - Using =INDIRECT() - creating dependent drop downs
I'm currently struggling to create data validation drop downs, that are dependent on a previous selection(Excel Version 16.32 on OS X)What I want to achieve: In column F, I'd like to create data...
View ArticleIs there a way to convert a date as 2008.5 (the middle of the year 2008) in a...
I have a series of values (concentrations of ions in the atmosphere) each plotted in function of their date that looks a little bit like this+---------+----------+---------+ | Year | Sulphate | Nitrate...
View ArticleExcel number format to only show decimals when necessary
How can I, without using formulas, show integers as integers, but decimals limited to a specific number of decimal places.e.g. show: 1 as 1, 12 as 12, but 1.23456789 as 1.23?The number format 0.## is...
View ArticleExcel Retention Calculation
Excel Masters,I have an Excel worksheet with a list of employees (ColumnA), dates (ColumnB), and Customers(ColumnC). I want to calculate the employees retention rate based on the customers that...
View ArticleDisabling Excel Warning Message about Active Content
I am dynamically creating Hyperlinks in an excel spreadsheet linking to a set of html pages also located on the same PC. The html pages load java script files. When clicking on the URL then the correct...
View ArticleSplitting Excel cell string while keeping font color formatting
I have posted this question before but it was voted as too vague. So here I am trying again.I have a cell with letters with different colors. Each letter is evenly spaced with one another (See below)....
View ArticleVBA Change the text color in MsgBox
I want to change the font color from MsgBoxTo understand what I want, I chose this exemple:Dim a As Integer Dim b As Integer Dim c As Integer Dim results As String a = InputBox("Enter your first...
View Articlevba not comparing cell values correctly
hei everyone,am i missing something here? i'm trying to compare two cells which are both formatted the same.the way i compare it is such (never mind the "i" variable, the code is inside a for loop):If...
View ArticleTo classify the data in different different columns of the Excel using python
I have the text file, with data in rows (about 252000 rows) in a single column only. Now after every set of 300 rows, I want to shift the data in column, then next 300 rows in different columns of the...
View Articlespreadsheet light does not read the file of the very last saved version which...
When I intitilaze the spreadsheet light with an excel file (.xlsm) it does not use the very last version of the file. For instance;File1.xlsm is opened and saved by user lets call it version...
View ArticleExcel VBA Create range validation input message from range comment
I am having trouble with making what seems to me a simple Excel VBA routine, we have a spreadsheet where comments were used instead of validation input messages. I would like to loop the spreadsheet...
View ArticleEXCEL: Click One Cell and Highlight Another
Option Explicit Private Sub Worksheet_SelectionChange(ByVal Target As Range) With Sheets("test") .Cells.Interior.ColorIndex = xlColorIndexNone Select Case Target.Address Case "$D$3"...
View ArticleChain function calls using Excel-Dna
Is it possible to chain function calls using Excel-Dna?I am trying to call something like this from Excel Sheet:=CreateAccount(CreateUser("John","Doe"))But the inner function CreateUser returns...
View ArticleWorking with Python & Txt file and put data in excel or access data base
I am brand new to programming and I am trying to learn but there is something I need to figure out a way before I have the time vested in learning everything. I am really hoping I could get some help.I...
View ArticleUnable to get the forecast_ets property of the worksheetfunction class
I've been trying to call the Forecast.ETS function from VBA code with Application.WorksheetFunction, however I'm getting the "unable to get the forecast_ets property of the worksheetfunction class...
View ArticleCheck if CSV file empty or not using vba
How can I find if my csv file is empty or not using vba? My csv file size is 7kb though it is empty, so through I cannot find out using size function. Could
View ArticleWinhttp .body.innerhml not as . Responsetext
I m using vba and i m able to scrape from web , get data , pur in Access or excel and so on.. I ve scraped Just a lot of Page on a intranet web using winhttp. Send get response text and surf trough ....
View ArticleSearch all files in folder for numerous strings
I have a folder with password protected workbooks (same password) for all the branches in our company, Liverpool, Manchester etc.In each workbook is a simple table that shows sales data, a sales...
View ArticleSearch column headers and insert new column if header does not already exist...
I have a spreadsheet that is updated regularly. The user will update two columns on sheet(create) with container type (this is the header name) and the quantity, which will be transferred to...
View ArticleVBA Excel, problem re-positioning .plotarea. How do i position the plotarea?
EDIT: Solved, scroll down for changes. below SOLVED ;) I'm stuck with positioning of a plotarea in a piechart,Goal: Have a loop, running trough a list of items with the data for the piecharts, the data...
View Article