Quote:
Originally posted by Cole Patzman
as far as number 1, the following would take care of the "ñ" , this code takes into consideration that an asterisk is in column a after the last record :
Dim char As String
Dim find As String
Dim found As Integer
Dim endit As String
Dim row As Integer
row = 1
endit = "*"
find = "n"
char = "ñ"
Range("A" & row).Select
While ActiveCell.FormulaR1C1 <> "*"
found = InStr(ActiveCell.FormulaR1C1, char)
While found > 0
ActiveCell.FormulaR1C1 = Mid(ActiveCell.FormulaR1C1, 1, (found - 1)) & "n" & Mid(ActiveCell.FormulaR1C1, (found + 1))
found = InStr(ActiveCell.FormulaR1C1, char)
Wend
row = row + 1
Range("A" & row).Select
Wend
End Sub
On problem 3, Highlight the column that contains the dollar amounts and click on format cells. On the next screen select the number tab and make the field numeric, make sure the thousands separator check box isn't checked. If that doesn't work, go back to the same place, check the thousands separator, then deselect. That should format the specific column correctly.
As far as the hidden columns and rows, I will have to get back to you on that.
Why use a cannon to kill a mosquito?
VB Code:
Cells.Replace What:="Ñ", Replacement:="N", LookAt:=xlPart, SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False