Paying different hourly pay between different hours during a 24 hours day
I am paying salaries for some workers and they have different salary depending on what time of the day they work. E.g. if they work between 06:00-22:00 they earn X and if they work between 22:00-06:00...
View ArticleUsing a variable to call up a different worksheet [closed]
I'm trying to use a cell value (a department and skills from a value list) to switch to the correct department worksheet and apply a filter using the skill variables vS1 - vS4. Using the macro record I...
View ArticleMatching data from two sources and simple calculations in excel
I have some calculations I need to do on a data-set. The calculations are simple (i.e input 1 x input 2 = output), but they take inputs recorded in two different excel workbooks by different people....
View ArticleHow do I engage the "save as" dialogue box in VBA when a user clicks the "X"...
I am making an Excel template for users to fill in information and send it back. Some users have very low-level technology skills, and the file uses macros and thus must be saved as a Macro-Enabled...
View ArticleReferencing A Formula In Another Cell
Is it possible to enter formula text into a cell and then reference use that formula text in a other formula?For example, I'm trying to do a VLOOKUP that changes which table it's looking at based on...
View ArticleContent of unwrapped Excel cells when imported to Pandas
I use pandas.io.excel.read_excel to import xlsx spreadsheets as pandas DataFrames. Some of the cells usually contain text, that if not wrapped, is not fully imported. Indeed, only the visible content...
View ArticleRedim Preserve on loop cause an error of Subscript out of range
Im looping a folder and passing different elements to an array dynamically. When the array is empty and i ReDim it the array increase size but when the array has values and i try to ReDim Preserve i...
View ArticleVBA: How to deal with passwords?
relatively new to VBA and looking for a solution to the following.I am trying to make an addin within VBA that will do a lot of manual tasks for both me and my collagues. For some of the tasks it will...
View ArticleInsert an external workbook reference (selected by user) in a formula using VBA
I need to insert a formula in a cell (say A1) that references some cells from another workbook (say sum(A1:A3)). I don't know the path nor the name of the workbook so I need to ask the user (edit. I do...
View ArticleHow to compare two cell strings to list str
I'm trying to find a formula or vba to compare a cell string to a list of strings and populate a column with true/false based on sequence in the list.If string in "Stopped" column comes after the...
View ArticleWhy is my data not pasted into worksheets when I created the worksheets...
In relation to the thread that I have asked earlier, How to solve the "program not responding error" when i extract data with same name in a column and put them into different worksheets? , the earlier...
View ArticleVM Domino server reading Excel data works while RDP session is active
Windows Server 2008 R2Domino 901 FP10I have this line in my Domino agent. Set to run every 15 minutes. Below is the line in question.Set xlsApp = CreateObject("Excel.Application") If I have an open RDP...
View ArticleIs there a way to load xll and call macro without opening excel using python?
Is there a way to load xll and call macro without opening excel using python? I need to load a third party excel addin, wait for initialization and run some macro. I am looking to schedule to run this...
View ArticleHow do I resize a second picture with VBA in Powerpoint?
I managed to get a picture from Excel to Powerpoint via VBA. This method works perfectly fine. However, I'd like to reposition and resize the second picture.Could you please help me out?Sub ExceltoPP()...
View ArticleIs there a why a userform _change procedureal event not be recursive?
I have data in a textbox (call it info) on a userform that I would like the user to be able to change so I set up a info_change() subroutine. Problems are: (1) as I load initial data into info.text...
View ArticleExtract data from column of selected row in excel vba userform combobox
I have a combobox (cbInventory) populated with a named range in the RowSource property that is a table that contains 6 fields and many thousands of rows. The bound column is the first column...
View ArticleConnect excel sheet to use data in dashboard
How do I connect my excel workbook with multiple sheets to c# (through V.S. 2017). I want to use this data to create a dynamic dashboard. Different graphs for each sheet is preferable also. Thanks
View ArticleCheck column and copy if it is the same
I have numbers in the Range G2:G10, I have to check if these numbers are in one of the Cells in the Row B of the second file. Now I just have a true if argument when the same number is in G2(File 1)...
View ArticleComparing shape object retrieved from Selection and the same shape retrieved...
I'm trying to check if the Shape selected by user is the proper one. For the simplicity, let's say we have only one shape in otherwise empty worksheet. Because of that, we know that the selected shape...
View ArticleUse array of integers to AutoFilter multiple criteria
I believe I'm having a data type issue. I am exporting a sheet as .csv from Tableau and trying to use a column of integers account IDs (that exports as 'General format) and enter those values into an...
View Article