View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
T De Villiers[_71_] T De Villiers[_71_] is offline
external usenet poster
 
Posts: 1
Default Moving Between worksheets


Hi trying the following based on your premise, not working, i a
obviously doing something wrong

Sub printtariq()

Dim xlRng As Range
Set Sheets("MORI WIP (S)").Range("D23") = ActiveCell


a = Cells.Find("WorkOrder").Column
b = Cells.Find("CostC").Column
c = Cells.Find("PaperSize").Column
d = Cells.Find("PaperWeight").Column
e = Cells.Find("NoBW").Column
f = Cells.Find("printtype").Column

lastrow = Range("A65500").End(xlUp).Row
lastcol = Range("IV1").End(xlToLeft).Column
Cells(1, lastcol + 1) = "x"
Cells(1, lastcol + 1).Font.Bold = True
g = Cells.Find("x").Column

'For i = 2 To lastrow
'Cells(i, g) = Right(Cells(i, a), Len(Cells(i, a)) - 1)
'Next


ActiveCell.Select
'Cells(2, 9) = Replace(Cells(2, 1), 1, 1, "S"

--
T De Villier
-----------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647
View this thread: http://www.excelforum.com/showthread.php?threadid=56656