Hi Steve
Again I will understand if this posting is not appropriate, as you have
already answered my original question.
The reason I have posted it is because of the contination of material and
it's easier to explain myself than start a fresh posting.
I had the print and print preview buttons working but now I have a problem.
I enter all the data into he text boxes, and then click the enter button.
The data is correctly entered into the appropriate cells.
Although I have set the "ShowModal" property to False, when I click on the
Print Preview command button, the print preview appears but the UserForm is
locked on top hiding it from view, I cannot move it either, the blue title
bar is grey. I can magnify the print preview of the worksheet under it.
Closing the print preview screen gives me back control of the UserForm.
Q1. Could you suggest what I may have overlooked?
Q2. Is it possible to put a minimise feature on the UserForm during print
preview or code it to be hidden during print preview......not sure what's
best practice here.
Q3 The Next Sheet button code takes me to Sheet 2 of the work book.
I want to stay on Sheet 1 because it is a prefilled form to which the
UserForm enters data in appropriate cells, or there a way to code it to
automatically transfer the basic form on Sheet 1 to the next work sheet
automatically where data could be entered into it via the UserForm, then when
I have all my populated forms I could print the entire workbook.
Thanks
Dermot
Dermot said:
Hi Steve,
thanks yet again.
I notice that if I want the "Real Time" in the footer I can enter ..........
&[Date]&[Time] but this shows only Hours and Minutes....
How to I get it to display the real time seconds too.
Best Wishes Dermot
stevebriz said:
put the next sheet on a cmd button as well ( like you did with the
others)
If Sheets(ActiveSheet.Name).Index < Worksheets.Count Then
Sheets((Sheets(ActiveSheet.Name).Index) + 1).Activate
End If
ActiveSheet.Select
This will give you the seconds:
ActiveSheet.PageSetup.LeftFooter = TextBox4.Value & " " & Format(Time,
"h:Nn:Ss AM/PM")