Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: User forms: populate option boxes from sheet

You could just put them into a 2 column table/range, then simply process each row using the first column as the frame name and the second as the offse...

5 years ago
Forum
Reply
RE: User forms: populate option boxes from sheet

Hi, It looks to me like you just need to alter the logic slightly: For Each Ctrl In frmNewRecords.Controls(stframe).Controls If TypeName(Ct...

5 years ago
Forum
Reply
RE: IFS or Nested IF

Just a small note that nested IF is more efficient since IFS evaluates everything passed to it, no matter which order you do it in.

5 years ago
Reply
RE: Check If Cell Begins with another cell

Just remove the +0 from the formula, since your values are not numeric. If you need to handle both numbers and text in the same formula, you could use...

5 years ago
Reply
RE: Excel Table Formula Automatically Changes Cell References

Tables aren't really that good at that kind of formula. Simple way round it is to use something like: =COUNTIF(INDEX([Invoice],2):[@Invoice],[@Invo...

5 years ago
Reply
RE: Text Box Character Limit when referencing a cell

If you're using VBA you could just use the code to populate the text box.

5 years ago
Reply
RE: VBA User Form Generating Strange Characters

In your ValidEntry function you have code like this: .txtLastName.Text = vbWhite which will put the value of the vbWhite constant (which ...

5 years ago
Forum
Reply
RE: Runtime Error 91 "Object Variable or with Block Variable not Set"

Steve, My point is that if your workbook opens in protected mode and you then enable editing and macros, any code run in the Open event will not be...

5 years ago
Forum
Reply
RE: Runtime Error 91 "Object Variable or with Block Variable not Set"

Nothing in your code is 32 vs 64 bit specific. On the computers where it works, are you prompted to enable editing?

5 years ago
Forum
Reply
RE: Runtime Error 91 "Object Variable or with Block Variable not Set"

Does it work properly if you enable macros, then save close and reopen the workbook? I suspect protected mode is interfering.

5 years ago
Forum
Reply
RE: what is the syntax for exact match in Text.Contains("LMS800", [Document])

You could add a query that calculates the highest length match for a given document, and then only return the rows that match on both document name an...

5 years ago
Forum
Reply
RE: Search and mark

Can you clarify what is missing in that example and why?

5 years ago
Forum
Reply
RE: Extract data based on range of dates and value

Add a column with 1s in it and another column that multiplies the Total Amount column by this new column. Then change N2 to total the multiplication c...

5 years ago
Forum
Reply
RE: Extract data based on range of dates and value

Since you essentially need to test every possible combination of values, you'll need a recursive routine such as the one posted a little over halfway ...

5 years ago
Forum
Reply
RE: Extract data based on range of dates and value

What are the constraints? What if more than one combination adds up to the value in question? (this is a considerably more complicated question than t...

5 years ago
Forum
Page 46 / 56