Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXCEL QUERY

Status
Not open for further replies.

arun17

Mechanical
Apr 16, 2002
44
Deat Friends,
I want to write an application using macros in Excel. But I want to control the no of rows and columns when the worksheet is opened. How it can be achieved using macros "Knowledge is power"
 
Replies continue below

Recommended for you

Try this, set the scroll area when the sheet is opened. It restricts the effective size of the sheet and the operator can only use the fields you set , i.e. "a1:f10".

Add this to the "ThisWorkbook" Open Event

Worksheets(1).ScrollArea = "a1:f10"

Regards,

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor