FrankRechter
New Member
- Joined
- Sep 21, 2011
- Messages
- 10
Hi
I am very new to VBA and need some advice.
I have a table where in Column F only a few cells are filled. I am looking for a code that can find all filled cells from F2 till F59 and copy them to a textbox or label in a userform. Somehow all other tips O found online did not work.
So far the code looks like this (I know, it's not much). The userform opens the excel sheet, and then i want to find and copy all filled cells.
Private Sub UserForm_Initialize()
Application.ScreenUpdating = False
Workbooks.Open ("S:\Projects\SNDG Datenbank\Partner SNDG Test.xlsx")
ActiveWorkbook.Close (False)
End Sub
I am very new to VBA and need some advice.
I have a table where in Column F only a few cells are filled. I am looking for a code that can find all filled cells from F2 till F59 and copy them to a textbox or label in a userform. Somehow all other tips O found online did not work.
So far the code looks like this (I know, it's not much). The userform opens the excel sheet, and then i want to find and copy all filled cells.
Private Sub UserForm_Initialize()
Application.ScreenUpdating = False
Workbooks.Open ("S:\Projects\SNDG Datenbank\Partner SNDG Test.xlsx")
ActiveWorkbook.Close (False)
End Sub