Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
32 views

I created a report to refresh the combine my SQL power query by VBA. It will be started by a VBS script in window scheduler at specific time of the day. However the refresh sometimes works and ...
Chan Tai Man C.'s user avatar
0 votes
0 answers
48 views

I'm trying to create a script that will pull specific rows from one sheet, and then paste then into a new sheet on the workbook that's running the code. It currently works to search through my list, ...
Mike D's user avatar
  • 1
0 votes
2 answers
72 views

Incoming with another VBA question. I'm currently have data within a column that has many line breaks, but certain lines need to be only indented 2 spaces whereas certain lines need to be indented by ...
user31504798's user avatar
Tooling
0 votes
5 replies
38 views

I have multiple excel online files with question and responses in them but I can't read the checkbox responses of yes and no in python or ssis. I want to export them to BI tool and aggregate the ...
Kofisam's user avatar
0 votes
1 answer
66 views

I am trying to use an Excel Formula to calculate the cost using the height and width of glass in millimeters, dividing the result by 1000 and then multiplying it by the minimum square meter cost value ...
Mark AES's user avatar
0 votes
1 answer
109 views

I am very new to coding and I'm trying to write a code for a worksheet change event, but it's not doing anything. I currently have a drop-down list of students in each individual cells AR5:AR104 (in a ...
Janice Hwang's user avatar
Advice
0 votes
3 replies
119 views

First I would like to apologize for the unclearness of my previous post. Now, I need a code that I can use for locating cells which will be filled with values from a userform. So for example ...
Roger20's user avatar
  • 21
2 votes
1 answer
131 views

I'm trying to get a button that establishes a macro for other buttons, but not itself. So far, what I've got is VBA that does successfully change the macro for buttons, but it ignores range parameters ...
Ryan K.'s user avatar
  • 33
Advice
2 votes
2 replies
93 views

Suppose I have irregular dates in column A, cashflows in columns B and let's say an 8% rate. I am trying to produce a formula to calculate the future value of these cashflows, taking into account the ...
MN Beitelmal's user avatar
1 vote
0 answers
107 views

I wrote a simple Office Script to process data in a Excel workbook. (it's my first use of Office Script) Code is simple and the script run without error and do what I was expecting. But impossible to ...
François's user avatar
0 votes
2 answers
171 views

Here is a tiny sample from my Outlook summary, that actually has 941 incoming emails from 50 people (names, etc., changed to protect the guilty!). From Subject Received Size Veronica Topic A 15/10/...
RobinClay's user avatar
0 votes
1 answer
147 views

I am trying to implement, in Excel VBA, some non-destructive file access pre-checks (in a loop) before carrying out multi-file (wildcard) operations, eg, delete, copy, move, in order to avoid the ...
Nick C's user avatar
  • 93
1 vote
1 answer
102 views

When pandas.read_excel(), df.to_excel(), geopandas.read_file() and gdf.to_file() are called in a certain order in different environments, pd.read_excel() sometimes causes "Kernel has died" ...
Azrael_DD's user avatar
  • 293
1 vote
2 answers
141 views

I have cells with a sentence in each (text without line breaks). Now, when an existing Userform is opened, I would like each word of the text in the cell (in the last row) to be listed in a Combobox-...
Roger20's user avatar
  • 21
-1 votes
0 answers
50 views

I am creating a financial overview sheet. I have one sheet that is the full overview with rows named (using the defined names feature) after the month and the year (e,g. June.25) and separate sheets ...
Ninkynank's user avatar
Advice
0 votes
2 replies
43 views

So I have been tasked to automate numerous reports which i succeeded mostly apart from this one case, I tried many recommendations from chatgpt but most were busted, the broken excel file started ...
Cheney raj Chadalavada's user avatar
1 vote
1 answer
112 views

I have a simple lookup table which requires two input values, LEGACY STORE and LEGACY REF In columns C, D and E, I have a formula to match on a lookup value and return a corresponding mapped value: =...
Ethanol-c2h6o's user avatar
0 votes
1 answer
82 views

I have a macro that emails everyone from a client list but I want to include my company logo as a header on the email. The logo is on sheet 11 of the workbook and is named "Picture 3". I ...
Dean Wattam's user avatar
-2 votes
0 answers
65 views

I hope you're doing great. I'm facing a situation where I need to dynamically extract data from Excel (.xlsx) files that contain: Multiple tables per sheet Different table formats Inconsistent ...
Hamzaoui Mohamed Amine's user avatar
1 vote
0 answers
95 views

I have a dataframe which I am trying to export to Excel with formatting and comments. To do this I have created a custom function using functions in the `openxlsx2' package to add color fill and/or ...
user2352714's user avatar
0 votes
0 answers
134 views

In this VBA formula, I need to anchor the variable wsPrice_Col2's column so when I add other columns with formulas, this column reference stays the same. Currently the wsPrice_Col2 column reference ...
Theoden's user avatar
1 vote
1 answer
91 views

I need to refresh the PQ data before copying and pasting reports. When I launch PQ for the first time, it only generates one report. This is incorrect because reports should be created based on the ...
Jakub Jabłoński's user avatar
Advice
0 votes
1 replies
64 views

I'm running power query in Excel to combine one set of files into one 'final table'. I have an existing power query model that completes this task. For reference, the files in the first set are all ....
user13893942's user avatar
1 vote
1 answer
119 views

This code is for a function, "Compound," that tries to return the interest accumulated for a starting investment (P) on a specific date (when), using a specific interest rate (r), and a ...
Gnosos's user avatar
  • 77
0 votes
0 answers
83 views

I want to do something straightforward, but it seems impossible. I want to copy a simple text string (such as "GROUP1") from another program or text file, then paste it from the clipboard ...
djmlewis's user avatar
  • 353
0 votes
0 answers
71 views

We use an API call to a custom site run by another company. The calls require a token to be generated first and passed along. The following code to generate a token works with no problem in VBA: Dim ...
Jay Anderson's user avatar
1 vote
2 answers
101 views

I'm looking to use values on another mechanical page that correspond to columns on the table, look in that row for that student and return 1 of 3 values if it is blank or not. Sample Problem is right ...
Matthew Lane's user avatar
0 votes
1 answer
42 views

I am trying to read and set the calculation mode in Excel. I have type TXlCalculation = type LongWord; const xlCalculationAutomatic:TXlCalculation = TXlCalculation(-4105); xlCalculationManual:...
ss2006's user avatar
  • 9
-1 votes
0 answers
104 views

I have a section of Excel VBA code that worked during prior attempts, but suddenly threw a Type Mismatch error. I confirmed the error was caused by the CustomOrder parameter by removing it and ...
CS Horne's user avatar
2 votes
1 answer
110 views

I know very little/next to nothing about Excel macros. Just so you know where I'm coming from. I tried searching for a way to hide/unhide columns based on the text value of a reference cell, and found ...
Knut Högvall's user avatar
2 votes
1 answer
145 views

I am building a loan amortization schedule in Excel for a 30‑year (360 months) home loan in Australia, where the interest rate is not fixed, but variable across the term (Excel loan amortization ...
gagneet's user avatar
  • 37.6k
Advice
0 votes
3 replies
147 views

I have one worksheet with a few columns: Product name part name order of part in product Volume A Volume B Difference vol A and B Dif % One part can be used for many products. All products are ...
Hubert S's user avatar
2 votes
3 answers
125 views

I have an excel sheet with a bunch of vehicles in a column, and I want to populate a new column with the "type" of vehicle. Here's a quick screenshot. Or to save you a click it's like this: ...
InstantCoffee's user avatar
0 votes
1 answer
149 views

I'm trying to create a Word document from an Excel workbook. It loops through a number of sheets creating one page in Word per sheet in Excel. Creating basic text works just fine. It's when I try to ...
metalnurse's user avatar
3 votes
3 answers
125 views

I am having trouble launching subroutines from an add-in via the Quick Access Toolbar (QAT). Over the past year or so, with various versions of the add-in, I have had some successes and many failures, ...
markito3's user avatar
-1 votes
0 answers
127 views

I have an Excel with columns INDEX, NAME, TYPE, UNIT, ID, MAP. "MAP" column has TRUE and FALSE values as shown in the screenshot. "ID" column has a drop down. It is populated only ...
Jagatha Pugazhendhi's user avatar
0 votes
2 answers
140 views

I have MS-Word Document templates that are stored in SharePoint. I need to write a sub within an Excel file to reach into SharePoint, copy the contents of the word document(s), and save to a local ...
Melissa Rose's user avatar
0 votes
3 answers
188 views

I have a list like the one shown below: Owner Alone? Mickey Yes Goofy Yes Pluto Yes Pluto / Mickey No Minnie Yes Daffy Yes Minnie / Goofy No Donald Yes In Excel, how can I make it that each name has ...
user30082921's user avatar
1 vote
1 answer
132 views

Problem Trying to create a formula that gets me to the result of cell G3 without the intermediary step of having 5 formulas (i.e. E3:E8) for each row of my Data Set excel E3=EVAL_FORMULA(CONCAT(...
mr_nane's user avatar
  • 109
1 vote
1 answer
66 views

I want a MsgBox that displays the names of the "Named Ranges" in the active worksheet, along with the "RefersTo" field. I created a macro that I thought would work, but when I ...
EmmaAleixa's user avatar
Advice
0 votes
4 replies
64 views

I have an Excel sheet with several fields. I want to generate a PPT with one slide per row (having selected multiple rows) in the Excel sheet. How can I do this using some AI tools (free versions only)...
gpuguy's user avatar
  • 4,717
7 votes
2 answers
235 views

I've been using the built-in Format() function successfully in Excel VBA for years. However, I have just come across a situation that would appear to be a bug. When the input value is Empty (Variant), ...
Nick C's user avatar
  • 93
0 votes
1 answer
90 views

I am scraping the Dead by Daylight Fandom wiki (specifically TOME pages, e.g., https://deadbydaylight.fandom.com/wiki/Tome_1_-_Awakening) to extract memory logs. The goal is to extract the Memory ...
zeromiedo's user avatar
Advice
0 votes
20 replies
270 views

I have this code that works great except for when the end of the week comes up I have to change 8 to 15 or vise versa in order to get to the correct workbook. Is there another way? This code is to ...
Rose 's user avatar
2 votes
3 answers
150 views

I have a spreadsheet with 31 pages that keeps track of my bowling teams scores, points won, etc. Each week (30 weeks total) is a separate page. I have a summary page in that spreadsheet that keeps ...
Bob Krembs's user avatar
0 votes
0 answers
164 views

I'm currently struggling on an assignment (probability class) which require creating a function (VBA excel) that contains a variable number of sums one inside the other based on a parameter. I'm not ...
Victor's user avatar
  • 1
0 votes
2 answers
63 views

The inbuilt stock data type in Excel is not correctly displaying the price of the stock. The issue is with stocks on the LSE as they are reported in pence and not dollars, Excel is reporting it as ...
Agetto's user avatar
  • 1
1 vote
2 answers
129 views

I have a problem in making a search for a range of dates with VBA. Using the start date as the default search in the date range and when find the same date start to count (x) in the range between the ...
A Mu's user avatar
  • 23
1 vote
1 answer
68 views

I have a spreadsheet of prices from a selection of suppliers, with one supplier per column. // Conditional Format code =D2=MIN($D2:$K2) I have used conditional formatting to highlight the cheapest ...
Adrian Gage's user avatar
0 votes
3 answers
99 views

I am looking for help with excel syntax. I am looking for if cell B4 = "Jan", "Feb" or "March" it returns Q1, if B4 = "April" ,"May" or "June&...
jamescadigan22's user avatar

1
2 3 4 5
5792