Click here to Skip to main content
16,008,750 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Will an Excel 2007 application work in Excel 2003 Pin
Dave Kreskowiak5-Mar-10 3:15
mveDave Kreskowiak5-Mar-10 3:15 
QuestionDynamicaly make a pop up menu item visible. Pin
karthickmani634-Mar-10 18:33
karthickmani634-Mar-10 18:33 
AnswerRe: Dynamicaly make a pop up menu item visible. Pin
Wayne Gaylard4-Mar-10 19:35
professionalWayne Gaylard4-Mar-10 19:35 
GeneralRe: Dynamicaly make a pop up menu item visible. Pin
karthickmani634-Mar-10 22:50
karthickmani634-Mar-10 22:50 
GeneralRe: Dynamicaly make a pop up menu item visible. Pin
Wayne Gaylard4-Mar-10 23:35
professionalWayne Gaylard4-Mar-10 23:35 
GeneralRe: Dynamicaly make a pop up menu item visible. Pin
Gregory Gadow5-Mar-10 4:11
Gregory Gadow5-Mar-10 4:11 
QuestionChange workbook for read/ write Pin
stephan06074-Mar-10 8:32
stephan06074-Mar-10 8:32 
AnswerRe: Change workbook for read/ write Pin
Dave Kreskowiak4-Mar-10 9:03
mveDave Kreskowiak4-Mar-10 9:03 
I don't do Office Interop, so this may seem like a stupid question.

Why do you even need to call .Activate? All you're doing is setting cell values. You don't have to have the sheet as the "active" sheet to do that. Activate does not turn a sheet from "ReadOnly" to "ReadWrite". All it does is make it the currently viewed sheet, just like you clicked its tab at the bottom of the Excel window.

If you're trying to show a specific sheet to the user, then try following up the call to Workbook.Activate with a Worksheet.Activate that's in that workbook.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Change workbook for read/ write Pin
stephan06074-Mar-10 9:29
stephan06074-Mar-10 9:29 
GeneralRe: Change workbook for read/ write Pin
Dave Kreskowiak4-Mar-10 11:06
mveDave Kreskowiak4-Mar-10 11:06 
QuestionBackground color of message box Pin
Tufail Ahmad4-Mar-10 2:47
Tufail Ahmad4-Mar-10 2:47 
AnswerRe: Background color of message box Pin
Dave Kreskowiak4-Mar-10 3:44
mveDave Kreskowiak4-Mar-10 3:44 
GeneralRe: Background color of message box Pin
Tufail Ahmad4-Mar-10 18:05
Tufail Ahmad4-Mar-10 18:05 
GeneralRe: Background color of message box Pin
Anubhava Dimri4-Mar-10 18:19
Anubhava Dimri4-Mar-10 18:19 
GeneralRe: Background color of message box Pin
Dave Kreskowiak5-Mar-10 2:02
mveDave Kreskowiak5-Mar-10 2:02 
QuestionOffice Interop Exception in VB.NET1.1, Please help Pin
Puneet Bhatnagar4-Mar-10 1:53
Puneet Bhatnagar4-Mar-10 1:53 
QuestionGDI+ help Pin
nyt19723-Mar-10 23:43
professionalnyt19723-Mar-10 23:43 
AnswerRe: GDI+ help Pin
Wayne Gaylard4-Mar-10 0:50
professionalWayne Gaylard4-Mar-10 0:50 
AnswerRe: GDI+ help Pin
Dave Kreskowiak4-Mar-10 1:53
mveDave Kreskowiak4-Mar-10 1:53 
GeneralRe: GDI+ help Pin
nyt19724-Mar-10 19:24
professionalnyt19724-Mar-10 19:24 
GeneralRe: GDI+ help Pin
Wayne Gaylard4-Mar-10 21:31
professionalWayne Gaylard4-Mar-10 21:31 
GeneralRe: GDI+ help Pin
nyt19725-Mar-10 0:01
professionalnyt19725-Mar-10 0:01 
GeneralRe: GDI+ help Pin
Wayne Gaylard5-Mar-10 0:57
professionalWayne Gaylard5-Mar-10 0:57 
GeneralRe: GDI+ help Pin
nyt19725-Mar-10 1:13
professionalnyt19725-Mar-10 1:13 
GeneralRe: GDI+ help Pin
Wayne Gaylard5-Mar-10 1:51
professionalWayne Gaylard5-Mar-10 1:51 

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.