Entering Cells using a Macro

David_UK

Active Member
Joined
Mar 18, 2003
Messages
299
Hi guys,

I need help with a macro, I have a sheet with 12000 lines of data, what I need to is at every 38th line I need to put a number 1 for eg...

Or if you have any other suggestions, please feel free.

David. :)
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
David

Can you be a bit more explicit? What exactly are you trying to do? How is your data laid out? How many columns etc? What number do you want to insert?
 
Upvote 0
Sorry,

I have 12000 rows, and at intervals of every 38 rows I needed to place a marker, i.e. a number this needs to be in column A. so

Rows 1-37 are blank, then A38 = 1 then A76 = 1 and so on

Hope this helps.

David.
 
Upvote 0
Ponsy got in first.

I was just asking the questions in case there was anything that might have influenced the method of solving your problem.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,257
Members
448,952
Latest member
kjurney

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
Back
Top