Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Run-Time error 91 Excel via Web Link

Status
Not open for further replies.

Bumpthis

IS-IT--Management
Nov 5, 2001
16
GB
Hi
Very new to vba but i've created a spreadsheet which has several links to hidden sheets in the workbook and a text book vb list box select going on. The problem is when i try and run this spreadsheet from a web page hyperlink it fails to find the hidden sheets. I get the error Run-time error 91 Object variable or with block variable not set. Its highlighting a section of code for a hidden sheet as ActiveWorkbook.Sheets("sheet3").Activate. Is there anyway around this or will i have to show all sheets just to run from a web page?

Many Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top