Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 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
  • 21
-3 votes
0 answers
39 views

I’m working with around multiple PDF files (all in English, mostly digital). Each PDF contains multiple tables. Some have 5 tables, others have 10–20 tables scattered across different pages. I need a ...
Shirish Maharjan HERD's user avatar
0 votes
0 answers
52 views

I have a workbook with 2 tabs: an Override tab and a Calculation Detail tab. I am trying to create a formula that returns "Y" or "N" in the parameter_# field of the Calculation ...
mr_nane's user avatar
  • 89
0 votes
0 answers
30 views

I have two arrays that won't multiply together, I just get a single zero. I would expect the result to be an array. Is there some behaviour of dynamic arrays that I don't understand here? The arrays ...
Toby Beisly's user avatar
0 votes
1 answer
49 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
131 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
139 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
52 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
107 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
60 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
94 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
Advice
1 vote
3 replies
130 views

I've got four years of daily school attendance data spread across 40+ Excel files (one for each month) and the sheets are set up in a truly annoying fashion, with each date in one merged cell in the ...
user28348051's user avatar
0 votes
1 answer
101 views

i have excel sheet with 5 columns. i used following code for sorting. it works fine lrow As Long lrow = Application.WorksheetFunction.CountA(Sheet2.Range("A:A")) Sheet2.Range("A3:E&...
Raja V's user avatar
  • 11
2 votes
2 answers
70 views

I'm building a workbook designed to isolate three different data sets from a single data source using Excel's FILTER function. What I'm trying to do is combine filters 1 and 2, then subtract their ...
h b's user avatar
  • 21
4 votes
3 answers
81 views

I have set of data that I am pulling from another sheet with filter() function, and then I'd like to use array formula if possible (with # operator) to have formula spill dynamically for as much rows ...
ch1zra's user avatar
  • 215
0 votes
1 answer
105 views

I have a data sheet that I am entering in Google Sheets and importing into R as an .xslx file. One of the columns in the datasheet is a character variable representing the specimen numbers of each ...
user2352714's user avatar
Advice
0 votes
3 replies
77 views

I am adding new sheets to a workbook using the value of a column. In the column there are duplicate values. I want to skip a duplicate value in my loop.
Steve Dyke's user avatar
Best practices
0 votes
2 replies
118 views

I'm quite frustrated trying to write to a binary file in Excel VBA. The issue is with fixed-length string data in a Type structure. (Note that my binary file requirements are that fixed-length string ...
Dave Clark's user avatar
0 votes
1 answer
114 views

I have the following VBA code, but one line is giving an error: rng(i, 4).Formula = "=IF(LEFT(A" & (i + 1) & ",2)="RN","RN",IF(LEFT(A" & (i + 1) &...
Davey Brankaert's user avatar
0 votes
1 answer
172 views

I have Power Query table in an Excel spreadsheet that filters a different table for a specific Index number using a List Box of Client Names. The first table has 3 columns: Index Attribute Value 1 ...
Brian Schmitz's user avatar
3 votes
1 answer
101 views

I am working on a handy reference sheet for my DnD Games, that includes 10 pre-planned encounters of varying difficulty that I want to reference on an Initiative Sheet by referencing the Encounter ...
Jonathan Rogers's user avatar
1 vote
1 answer
109 views

How can I handle string values that contain patterns like xxxE205 (e.g., 2004E205), which are used as unique codes in my company? I explicitly read the column as a string in pandas, but values ...
Ethan MK's user avatar
2 votes
3 answers
196 views

This Excel VBA code is supposed to copy the entries from Sheet "Entry" then Insert & Paste only Values in Sheet "List". Sheet List has a password to prevent editing. Sub ...
David's user avatar
  • 39
Best practices
3 votes
19 replies
288 views

Here is the custom function to spell number to words using LAMBDA(). I would appreciate any improvement of the function or simplification if possible. Also suggest best practice for the function. =...
Harun24hr's user avatar
  • 38.1k
0 votes
0 answers
100 views

I am trying to import a table from one workbook to another, but I want to add the table with each import to the next empty cell (i.e. don't want to overwrite existing data in the target workbook). I ...
Cailin Henry's user avatar
0 votes
1 answer
72 views

I have managed to stop a tab from being printed using the BeforePrint... I now need to prevent the File|Export from firing for the same tab. Is there something like the code below to stop FILE | ...
RealEstateMan's user avatar
Best practices
0 votes
4 replies
113 views

I have confirmed that the following VBA code works just fine. Dim mydate As Date mydate = Date Open "C:\Windows\Temp\dlctest.data" For Binary Access Write As #1 Put #1, , mydate Close #1 ...
Dave Clark's user avatar
0 votes
1 answer
111 views

I need to find openings in a group of people's schedules because I can't merge them easily with any native web program we use the calendars in. I will be looking at each person's calendar at a time ...
Lord Bobbymort's user avatar
0 votes
0 answers
23 views

I was wondering is there a way to configure error logging for Aspose.Cells (.NET). The version I am using is, 25.5.0. I am facing one issue with an excel workbook that has more than 10 excel sheets ...
darthAJ's user avatar
1 vote
2 answers
97 views

I have a tool I am working on using the latest version of Excel (whatever it is) and I have a table which looks like this: I want to take each unique combination of values from the Code and POBox ...
PapaPinkMIst's user avatar
1 vote
2 answers
107 views

Is there an Excel formula that can detect whether two cells in the same column contain similar or partially matching text? For example: F3 contains: "regulation BI, how to stop exploitation"...
Carey Williams's user avatar
1 vote
2 answers
106 views

I'm trying to use VBA to insert a new row and then create a reference using the date in the format yyyymmdd followed by a hyphen and then 1. So for example, today I would like the output to read ...
Barry Lees's user avatar
Advice
0 votes
8 replies
141 views

My question is quite straightforward - or at least, it should be! I have an Excel sheet with dates and weekdays laid out across the top three rows. I want to highlight all columns in a particular ...
Chris Melville's user avatar
Advice
0 votes
1 replies
119 views

I want a VBA code to prevent fill and drag in an Excel sheet without hiding the fill and drag cruiser. and without preventing them from advanced settings. In addition, I want this code to be localized ...
Ahmed Magdy Tpozada's user avatar
Tooling
1 vote
3 replies
97 views

I'm currently searching for a solution to read a pdf and convert it to an excel. For now I found the "tabula-py" library, which seems to be good. But I'm not quite sure because the pdf has ...
marskernel's user avatar
-3 votes
1 answer
216 views

1) The following code is able to draw a Map Chart successfully. Public Sub Macro1() For i = ActiveSheet.Shapes.Count To 1 Step -1 ActiveSheet.Shapes(i).Delete Next i ...
George Costanza's user avatar
4 votes
1 answer
95 views

a = np.array(["foo", "foo", "foo", "foo", "bar", "bar", "bar", "bar", "foo", "foo", &...
Tyler's user avatar
  • 149
0 votes
1 answer
50 views

I'm creating a PivotTable in Excel using VBA. One of the fields is a time value (formatted as "hh:mm:ss"), and I want the row labels to show each hour (e.g., 00:00, 01:00, 02:00), not every ...
jordan Gutierrez's user avatar
1 vote
1 answer
145 views

When I first open up the Excel file, as well as after I click on a button to import additional sheets into the file, the BeforeDoubleClick event works (it adds 'ticks' to cells so the user can see how ...
Sally Parkes's user avatar
3 votes
1 answer
108 views

I have a simple UserForm to prototype the concept of loading different sizes of the same image based on the Windows display scale that the user sets. For this example, I'm just testing with 100% scale ...
Jamie Garroch - MVP's user avatar
1 vote
2 answers
153 views

I'm probably missing something very simple here but, I have cobbled together the following code VBA code in Excel,, mainly from answers I've seen here and this runs OK. However what I would like to do,...
N. Blain's user avatar
1 vote
1 answer
84 views

I'm working with a macro designed to copy selected sheets into a new workbook, replace their formulae with values, then resave the file in the same folder as the macro workbook. For the most part, the ...
Werrf's user avatar
  • 1,244
2 votes
1 answer
64 views

I am trying to export a VBA module from one workbook and import it into another: Dim ProofName As Variant Dim sDate As String Dim CashShN As Variant Dim wbkSource As Workbook Dim wbkTarget As Workbook ...
PhantomBanker's user avatar
-4 votes
2 answers
176 views

Problem I have created quite a convoluted formula in Google Sheets that Sheets doesn't seem powerful enough to handle for more than ~80 rows of data, so I wanted to try moving it over to Excel. Seems ...
user30082921's user avatar
3 votes
1 answer
87 views

I’m trying to change the font color of the data labels in a Sunburst chart in Excel using VBA. So far, I’ve tried several approaches over the past two days, but I can’t seem to access or modify the ...
Grégory Fonrouge's user avatar
1 vote
1 answer
99 views

I am using Microsoft.Office.Interop.Excel.Application My MyMainFunction() function is executed. If an unexpected forced termination (a crash) occurs immediately after excelApp = new Microsoft.Office....
김지훈's user avatar
Advice
0 votes
7 replies
122 views

I am working with two different workbooks. WB1=Destination data, WB2=Source. I am trying to do a lookup and match between the wb, using wb2 to find the match in WB1. Once the match is found, copy ...
Rose 's user avatar
1 vote
2 answers
107 views

Excel is adding a unicode character to a summary file I save from r as a .csv, where it adds "¬" in front of "±". Is there a way to edit the r script to prevent this? cola <- c(&...
Mulligan's user avatar
1 vote
1 answer
72 views

I am trying to get data from my data imput sheet into my record keeping table, so I am trying to do VBA code to 1. create new row 2. paste the data in there as value and not formula I created ...
Tom Smith's user avatar

1
2 3 4 5
5792