finding the first empty cell in column a then populate subsequent cells in column a

GS7CLW

Banned
Joined
Aug 10, 2010
Messages
168
I had this working and I must have accidentaly changed something I should not have. I am simply finding the first empty cell in column A and populating the subsequent cells (in column A) with acronym explanations:

Code:
Sub Add_Acronyms()
Dim BlankCell
Range("A1").Select
For A = 1 To 100
If ActiveCell.Value = Empty Then
BlankCell = "A" & CStr(A - 1)
Else
Range("A" & CStr(A + 3)).Select
ActiveCell.Value = "ACE - American Council on Education"
Range("A" & CStr(A + 4)).Select
ActiveCell.Value = "ADHQ - Online Questionnaire"
Range("A" & CStr(A + 5)).Select
ActiveCell.Value = "AITI -"
Range("A" & CStr(A + 6)).Select
ActiveCell.Value = "APLREF - Applicant Referral Program"
Exit Sub
End If
Next A
End Sub

yes I was bad and deleted SOMETHING;>((

hope everyone is having a great day...it's hump day;>))
cliff
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Here is a little script that selects the first blank cell in Column A. Does this help?
Code:
'   Select first blank cell in column A
    If Len(Range("A1")) = 0 Then
        Range("A1").Select
    Else
        If Len(Range("A2")) = 0 Then
            Range("A2").Select
        Else
            Range("A1").End(xlDown).Offset(1, 0).Select
        End If
    End If
 
Upvote 0

Forum statistics

Threads
1,224,581
Messages
6,179,668
Members
452,936
Latest member
anamikabhargaw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top