Click here to Skip to main content
15,886,806 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: visual basic 2010 homework Pin
Member 1052356014-Jan-14 5:47
Member 1052356014-Jan-14 5:47 
GeneralRe: visual basic 2010 homework Pin
Pete O'Hanlon14-Jan-14 6:17
mvePete O'Hanlon14-Jan-14 6:17 
GeneralRe: visual basic 2010 homework Pin
Member 1052356014-Jan-14 14:10
Member 1052356014-Jan-14 14:10 
GeneralRe: visual basic 2010 homework Pin
Pete O'Hanlon14-Jan-14 19:01
mvePete O'Hanlon14-Jan-14 19:01 
QuestionInteracting with Excel: version problem or distribution problem Pin
Steven St. John9-Jan-14 5:14
Steven St. John9-Jan-14 5:14 
AnswerRe: Interacting with Excel: version problem or distribution problem Pin
TnTinMn9-Jan-14 16:07
TnTinMn9-Jan-14 16:07 
GeneralRe: Interacting with Excel: version problem or distribution problem Pin
Steven St. John10-Jan-14 4:32
Steven St. John10-Jan-14 4:32 
GeneralRe: Interacting with Excel: version problem or distribution problem Pin
TnTinMn10-Jan-14 8:58
TnTinMn10-Jan-14 8:58 
I must apologize for sending you down the wrong path. D'Oh! | :doh:
When I wrote that, it did not even occur to me that you had the Office Primary Interop Assemblies (PIA) installed in the GAC. You would have gotten a reference not found or something like that if they were missing.

The error message is pretty clear about the circumstances; at some point your code must be trying to delete/hide the last visible worksheet. This is easy to reproduce by calling the Delete method on the Workbook.WorkSheets object.

You need to inspect your code and find what causes this condition to occur.

As to why does it work fine on your development machine, but not on another? This is hard to say without seeing your code, but perhaps you are deleting the default WorkSheets (Sheet1 thru Sheet3) as some type of cleanup in your code and no other visible worksheets were added prior to this action on the subject installation.
Edit: corrected typo's

modified 10-Jan-14 17:16pm.

GeneralRe: Interacting with Excel: version problem or distribution problem Pin
Steven St. John10-Jan-14 9:53
Steven St. John10-Jan-14 9:53 
AnswerRe: Interacting with Excel: version problem or distribution problem Pin
Steven St. John14-Jan-14 10:31
Steven St. John14-Jan-14 10:31 
Questionfile Downloader Help Pin
Member 105110268-Jan-14 2:15
Member 105110268-Jan-14 2:15 
AnswerRe: file Downloader Help Pin
Dave Kreskowiak8-Jan-14 3:10
mveDave Kreskowiak8-Jan-14 3:10 
QuestionAnchor Pin
Tsunamipudip8-Jan-14 2:13
Tsunamipudip8-Jan-14 2:13 
AnswerRe: Anchor Pin
Dave Kreskowiak8-Jan-14 3:04
mveDave Kreskowiak8-Jan-14 3:04 
QuestionTrouble with IF...Then...ElseIf... Pin
big_D7-Jan-14 11:36
big_D7-Jan-14 11:36 
AnswerRe: Trouble with IF...Then...ElseIf... Pin
Bernhard Hiller7-Jan-14 20:49
Bernhard Hiller7-Jan-14 20:49 
GeneralRe: Trouble with IF...Then...ElseIf... Pin
big_D8-Jan-14 7:43
big_D8-Jan-14 7:43 
AnswerRe: Trouble with IF...Then...ElseIf... Pin
GuyThiebaut7-Jan-14 21:54
professionalGuyThiebaut7-Jan-14 21:54 
GeneralRe: Trouble with IF...Then...ElseIf... Pin
big_D8-Jan-14 7:44
big_D8-Jan-14 7:44 
QuestionDatagridView not display any data Pin
Biplob Singha Shee6-Jan-14 7:41
Biplob Singha Shee6-Jan-14 7:41 
AnswerRe: DatagridView not display any data Pin
Dave Kreskowiak6-Jan-14 7:55
mveDave Kreskowiak6-Jan-14 7:55 
AnswerRe: DatagridView not display any data Pin
Ron Beyer6-Jan-14 7:58
professionalRon Beyer6-Jan-14 7:58 
GeneralRe: DatagridView not display any data Pin
Biplob Singha Shee6-Jan-14 8:37
Biplob Singha Shee6-Jan-14 8:37 
GeneralRe: DatagridView not display any data Pin
Ron Beyer6-Jan-14 8:58
professionalRon Beyer6-Jan-14 8:58 
GeneralRe: DatagridView not display any data Pin
Biplob Singha Shee6-Jan-14 9:24
Biplob Singha Shee6-Jan-14 9:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.