Select a specifik cell in a row to count from

Perbjo

New Member
Joined
May 5, 2022
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hi

I have this bit of code for an userform, where I add name of a car and its pricetag. And it works fine if it's just starting from A1.
I want it to start counting from A15 where I have my titleObjects, but I cant make it work almost no matter how I try.
My goal is that First car and price should go into A16:B16, second car and price A17:B17 and so on.

My second goal is to have another range starting at A1 to have Motorcycle name and price tag.
I havn't created an userform for this one, but it will be similar to the other.

Somehow I think it's simple, but I cant figure out how to make it happen.
Hopefully some of you experts can help :)
1662402893748.png
 
Last edited:
If the first goup fill up to row 14 that will be a mess
We could insert a test for row 14 beeing empty, but then what the user have to do if there is no space?
I would suggest that the two groups be separated; for example group1 in columns (say) A:H and group2 in columns J:Z; or group1 in sheet1 and group2 in sheet2
Good idea - I'll keep your suggestions in mind.
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,868
Messages
6,127,413
Members
449,382
Latest member
DonnaRisso

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