If Then

  • Thread starter Thread starter Jon M.
  • Start date Start date
J

Jon M.

How do I need to state the following so that it will
work??

If ('Balance'!J23) > 0 Then Sheets("Invoice").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1,
Collate:=True

Thank-you
 
Hi
try
sub print_it()
if worksheets("Balance").range("J23").value>0 then
worksheets("Invoice").printout Copies:=1, Collate:=True
end if
end sub
 
-----Original Message-----
Hi
try
sub print_it()
if worksheets("Balance").range("J23").value>0 then
worksheets("Invoice").printout Copies:=1, Collate:=True
end if
end sub

--
Regards
Frank Kabel
Frankfurt, Germany


.
Thanks, it works perfect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top