How do I zero fill columns in excel?

M

MIndy

I am trying to zero fill columns in a spreadsheet for a thrid party vendor to
import into their system. These need to be 'front filled'.
 
S

sebastienm

using a macro? If so:

Say you want to zero-ed cells A1:B100 and D1:D100 of the active sheet
Dim Rg as range
Set Rg = ActiveSheet.Range("A1:B100,D1:D100").Value = 0

Regards,
Sebastien
 
S

sebastienm

sorry , i meant:
Dim Rg as range
Set Rg = ActiveSheet.Range("A1:B100,D1:D100")
Rg.Value = 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top