Hi
If you to compare different text (upper and lower case) you have to add this code (after Option Explicit and Before Sub RangeColor).
It is to say to add the red-row code
Option Explicit
Option Compare Text
ub RangeColor() Bye, Mario
Hi
If you to compare different text (upper and lower case) you have to add this code (after Option Explicit and Before Sub RangeColor).
It is to say to add the red-row code
Option Explicit
Option Compare Text
ub RangeColor() Bye, Mario
Hi
Try with this code (but without Format Condition)
Bye,
Mario
Hello
Excuse me for my english (I’m Italian)
See if it can go.
First of all, I inserted an OptionButton in each column in row 2 in Sheet1
If you select an Option in cell M2 the column number is written.
Based on the column, a list of Sheet4 was created for a collection with a key and a unique list. Assignment of said list to a data validation for cell M2
Selecting a data item in cell M2 activates the event Worksheet_Change of Sheet1 which executes a Sheet4 filter for the data indicated; then copy all the visible lines in Sheet1
I inserted a Module (Marius) and two buttons in the two sheets.
Let them know. Hello,
Mario
http://www.filedropper.com/sewingtrimmingmarius
Hi
I think this code is correct
I have marked what I have changed.
Try again but you could known that I have no tested it.
Bye,
Mario
Hi
Will you be so kind to tell me the first and the last cell of every list and the cell where you want to paste the new lists?
This is necessary to adjust the code. Tanks and bye,
Mario
Hi
Excuse me for my english (i'm italian)
Try with this code
Bye,
Mario
Hello
Try with this code
Bye,
Mario
Hello
I suggest you read at this address 'https://www.extendoffice.com/documents/excel/3842-excel-restrict-paste-values-only.html#a2 Bye, Mario
Hi
I think it would be better "see" the file.
But you just paste the "values" so not a serial number (and this could create problems)
Bye,
Mario
Hi
I think you have to change the code of TextBox2 in this way
Private Sub TextBox2_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
Select Case KeyAscii
Case 48 To 59
' Allow digits - do nothing
Case 46
' Allow only one dot symbol
If InStr(ActiveControl, ".") Then KeyAscii = 44
Case Else
' Block others
KeyAscii = 0
End Select
End Sub
It's to say changing the point
Bye,
Mario
Hello
Why have you entered the name of the Sheets?
If you have defined Names just type them in square brackets.
In my macro there are no names of the sheets and it worked.
bye,
Mario
Thanks for the welcome feedback.
I'm counting for you.
Hi,
Mario
Hello AshaG
Excuse me, first of all, my English (I'm Italian)
If I understood the question correctly, this is the macro that, I suppose, solves the problem.
One thing I did not understand is how it does (with which criteria) the value of column ID-2 changes.
Let me know.
Hi, Mario
Hi
of course you're right. Hello, Mario
Sorry, you're right.
Maybe it's a bug VBA
Bye,bye
Mario
Hi Marko
I'm glad to have been helpful.
Thank you for your courteous deferment.
Best wishes for the next holidays.
Bye,
Mario
Hi Marko
I don't know.
I upload my file that works correctly.
I have added Option Explicit and variables declaretions.
Ciao,
Mario