View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.misc
Matthew[_2_] Matthew[_2_] is offline
external usenet poster
 
Posts: 54
Default Cheating With Printing

On 31 Jul, 22:25, Matthew wrote:
On 31 Jul, 19:51, "Ron de Bruin" wrote:



You can use this
I use a sheet named "ShopSheet" where we copy the value in and print


Sub test()
Dim cell As Range
For Each cell In Range("centres").SpecialCells(xlCellTypeConstants)
With Sheets("ShopSheet")
.Range("A1").Value = cell.Value
.Calculate
.PrintOut
End With
Next cell
End Sub


--


Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm


"Matthew" wrote in oglegroups.com...
On 31 Jul, 19:33, "Ron de Bruin" wrote:
Hi Matthew


Do you have a list in a excel sheet with all numbers or are they simple number 1 to 656


--


Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm


"Matthew" wrote in glegroups.com...
What I want to do is;


I have a spread sheet with 656 different 'shops' each with different
budgets.


Using vlookup etc I have made a sheet where you type the shop id
number in a1 and it brings all the data up for that shop.


What i would love to be able to do is to have a little macro that
would print all the sheets by entering the shop id into a1 for me.


The shops id number are all 3 digit numbers.


Thanks in advance


Matthew


They are in the workbook, in a range named centres


Ron,
You wiz, I must get a book on this, any recommendation for starter/
intermediate ?

Thanks It worked a Treat.

Matthew


Now to be really cheaky....

If the 600 odd shops are divided into 'areas' is there a way of
selecting an area eg 882 (which could be a range name or other that
lists the 10 to 18 shops in that name).


the area numbers/names are 3 digit numbers but not consecutive ie
could be 881,882,890,891,........

So in all I guess I am looking for a sheet where i can select the area
and it will print the various shops/centers that are in that area.

Isn't it funny when you get what you were striving for you then want
more.

Matthew