Iterative printing?

Issy

New Member
Joined
Aug 16, 2010
Messages
4
I need to print (for example) the number "2" 10 times (or a hundred or more...

as in

X = 72<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
Y = 2<o:p></o:p>
<o:p> </o:p>
For I = 1 to 72<o:p></o:p>
Print Y<o:p></o:p>
Next I

Any ideas?
<o:p></o:p>
 

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Derek Brown

Well-known Member
Joined
Dec 26, 2005
Messages
2,390
Can you explain what you are trying to achieve? Or do you just want to print the number '2' on a single page (piece of paper) ten times? Or are you trying to put the number into a number of cells on a worksheet?
Please also say which version of Excel is being used.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,712
Messages
5,597,716
Members
414,166
Latest member
Donerightdata

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top