Microsoft
Software
Hardware
Network
Question : How to select range to append to?
this works if i use Active cell, but i want it to always apend (somthing 9999 to the begining of everything in column A:A if its not blank.
Sub DoubleSlash()
Dim str As String
Dim cel As Range
Set cel = Range("A:A") << error here
If cel = "" Then Exit Sub
If Left(cel, 2) = "9999" Then
cel = Mid(cel, 3, Len(cel) - 2)
Else
cel = "999" & cel
End If
cel.Offset(1, 0).Activate
End Sub
Answer : How to select range to append to?
Sub DoubleSlash()
Dim str As String
Dim cel As Range
For Each cel In Range("A:A")
If cel = "" Then Exit Sub
If Left(cel, 2) = "9999" Then
cel = Mid(cel, 3, Len(cel) - 2)
Else
cel = "999" & cel
End If
Next cel
End Sub
Random Solutions
I have an Exchange 2003 on a SBS2003 and I need it to handle 2 or more email domains
Padding Number
MAC Mail with Exchange 2007 Attachment Issue
DCOM was unable to communicate with the computer "Name" using any of the configured protocols.
Globally change the Blackberry Service Display name
SAS 9.1 - Excel Import
problem killing a session in java
IIF Field Length Question
Non-Dell motherboard upgrade for Dell XPS Generation 5 Case
Do you know a utility in Unix I could use that would compare 2 files (for ex:, files A.txt vs B.txt) and display the differences between the 2 files?