View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
raymondsum[_9_] raymondsum[_9_] is offline
external usenet poster
 
Posts: 1
Default conditional printing


Hi,

If Cell A1 = 1 ,Print Area (A2:M6)
If Cell A1 = 2, Print Area (A2:M11)
If Cell A1 = 3, Print Area(A2:M16) ... and so on

How do i write a vb to solve it.

Thanks in advance.

Raymond

Note : I wrongly post this question in tips and tutoria

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com