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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,216,568
Messages
6,131,461
Members
449,652
Latest member
ylsteve

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