Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50112

Autofill Vlookup/Formula to last row in multi range and option button

$
0
0
Greatly appreciate for helping me with below:

1. I have Vlookup and formula from Range "B1:AM1". How can I autofill those to the last row depends on data of column A:A (Exp: if the last data on column A:A is A599 so autofill all Vlookup/Formula from B1:AM1 to range "B599:AM599").

2. a_I have GroupBox (Car) includes: two Option Buttons (Yes & No).
b_CarUserForm includes: three labels (Model, Year, Insurance); three textBox for each label; two CommandButton (OK & Cancel)
When I click Yes (CarUserForm popup) let people enter info into three TextBox and hit OK (value appears on Range in order A1, A2, A3). If any TextBox info is missing so MsgBox "Please enter Model" or "Please enter Year" or "Please enter Insurance" popup (depends on which TextBox info is missing) and CarUserForm still open to let people re-enter info.
If people hit Cancel to Unload CarUserForm then Option Buttons automatic change form Yes to No.

Thank you very much for all your help
tt3

Viewing all articles
Browse latest Browse all 50112