How to read a particular cell by using "wb = load_workbook('path', True)" in openpyxl

somesh g someshg2 at gmail.com
Mon Sep 30 03:26:33 EDT 2013


Hi..there

I have written code for reading the large excel files 

but my requirement is to read a particular cell in a excel file when i kept "True" 

in "wb = load_workbook('Path', True)"

any body please help me...

CODE:
====
from openpyxl import load_workbook

wb = load_workbook('Path', True)
sheet_ranges = wb.get_sheet_by_name(name = 'Global')
for row in sheet_ranges.iter_rows():
      
    for cell in row: 
        print cell.internal_value

Regards,
G.Someswara Rao



More information about the Python-list mailing list