Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to create an alphanumeric value and insert it into a sheet column
'M' based on a combocox selection, I want it to search column 'M' find the left 2 letters then add 1 number to the value it creates. I have been trying to create it but keep failing, here is my code 'searches for duplicate MSDS# in column 'M' dept = Columns(13).Find(What:=CboDept.Value, _ After:=Cells(5000, 13), LookIn:=xlFormulas, _ LookAT:=xlWhole, SearchOrder:=xlByRows, _ SearchDirection:=xlNext, MatchCase:=False, _ SearchFormat:=False).Row If Me.CboDept.Value = "" Then End If If Me.CboDept.Value = dept Then dept = Me.CboDept.Value & 0 + 1 End If Exit Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to create a form to insert a hyerlink.VBA code to create a for | Excel Discussion (Misc queries) | |||
Create a newworksheet with VBA code and put VBA code in the new worksheet module | Excel Programming | |||
Create a search Field within a worksheet to search command buttons | Excel Programming | |||
Excel XP VBA code to search all macro code in Excel module for specific search string criteria | Excel Programming | |||
Excel XP VBA code to search all macro code in Excel module for specific search string criteria | Excel Programming |