Darth yoda
New Member
- Joined
- Feb 27, 2013
- Messages
- 35
Hi again guys. I really appreciate your help guys. I have learned a lot. But learning leads to learning!! LOL.
After finishing my other spreadsheet I have decided to learn InputBoxes. This is a multiple question thread all relating to InputBox. So once again.............
1a. When opening Excel, an InputBox("What is your name?") should popup. When answered (Bob) the workbook should "copy as Bob" and save itself. The InputBox should not show itself on re-opening. This way there is always an unmodified copy on hand.
OR
1b. When opening Excel, an InputBox("Have you backed up your data?") should popup. If No another InputBox("Please quit and back up your data.") should show with a close button.
If Yes then the original InputBox should never show again.
Is there a limit to the numbers of questions asked in a single InputBox?
2. Now an InputBox(" What is number one?","What is number two?") all the way to number 6 and place in cell f5, f6, f7 etc.. Then close after all are answered.
How to call an InputBox from an InputBox?
3. Another Input Box should popup and ask InputBox(" Is your commission static or variable?") If "S" then InputBox("What is your commission level?") else InputBox("Enter Number.") then produce a random number. RandomNumber(1 thru Enter Number) and place it in sheet2.cellG3.
How to make notations in a macro? Like this......
LastRow = Worksheets("Sheet2").Cells(Rows.Count, "A").End(xlUp).Row :This counts the rows in column "A".
Thanks again for all the help. You guys rock!!
After finishing my other spreadsheet I have decided to learn InputBoxes. This is a multiple question thread all relating to InputBox. So once again.............
1a. When opening Excel, an InputBox("What is your name?") should popup. When answered (Bob) the workbook should "copy as Bob" and save itself. The InputBox should not show itself on re-opening. This way there is always an unmodified copy on hand.
OR
1b. When opening Excel, an InputBox("Have you backed up your data?") should popup. If No another InputBox("Please quit and back up your data.") should show with a close button.
If Yes then the original InputBox should never show again.
Is there a limit to the numbers of questions asked in a single InputBox?
2. Now an InputBox(" What is number one?","What is number two?") all the way to number 6 and place in cell f5, f6, f7 etc.. Then close after all are answered.
How to call an InputBox from an InputBox?
3. Another Input Box should popup and ask InputBox(" Is your commission static or variable?") If "S" then InputBox("What is your commission level?") else InputBox("Enter Number.") then produce a random number. RandomNumber(1 thru Enter Number) and place it in sheet2.cellG3.
How to make notations in a macro? Like this......
LastRow = Worksheets("Sheet2").Cells(Rows.Count, "A").End(xlUp).Row :This counts the rows in column "A".
Thanks again for all the help. You guys rock!!