Johannareta
New Member
- Joined
- Sep 24, 2018
- Messages
- 1
Hi everyone, I am trying to have the user select a range to input. I have been able to have set a parameter for the number of columns selected. I can not figure out what line would show error if the columns selected did not have data. Current code will be attached below:
If tablerange.Column.Count <> 5 Then
MsgBox "Must select 5 columns of data. Try again."
I'm a noob to all this so excuse my poor wording
If tablerange.Column.Count <> 5 Then
MsgBox "Must select 5 columns of data. Try again."
I'm a noob to all this so excuse my poor wording