Help with Cell reference and updating in VBA

Zelcombe

New Member
Joined
Apr 3, 2018
Messages
9
Hello Everyone. I am a little stuck on what is probably a very simple piece of code, but y'all know how it goes when its the end of the day and your brain is mush.:)

If there is already a post that has an answer similar to what i am looking for please let me know.

Cells and Values for Reference:
Column AColumn B
[Any Real Number]

<tbody>
</tbody>


Description of what I need to happen:
  1. On Workbook open check to see if a cell on a certain sheet has a value if it does exit sub. (This part I know how to do and have set up).
  2. If the cell in step number 1 has no value then proceed with the following:
  3. Look for the first empty cell in Column B.
  4. when it finds the first empty cell in Column B the code grabs the number from Column A and places that number into UserForm Textbox when the Userform is activated.
  5. After the code places that number from column A into the Userform the code would then move down one row and add a specified numeric value to the previous cell in Column A.
  6. End Sub

Thank you all for your assistance with this.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,641
Messages
6,125,980
Members
449,276
Latest member
surendra75

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