Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50067

Call Macro Based on a non empty Cell Value.

$
0
0
Hi,

I think this has been answered for a specific cell, but I need help on expanding this to run a macro from multiple cells.

I have a speadsheet which creates barcodes based on the value in the cell below it, by calling a Macro called "Barcode"

If the cell is empty, then I do't want the Macro to run and the cell containign the MaMcro command should be left blank.

I know that this can't be done from an if statement and needs to be coded into a Macro somehow.

Once working on one cell, this need to be copied to a number of cells throughout teh spreadsheet to create a 7col by 25 row grid.

Can anyone help??

Thanks

Viewing all articles
Browse latest Browse all 50067

Trending Articles