Click here to Skip to main content
15,927,344 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralOT Pin
EliottA20-Jan-09 7:52
EliottA20-Jan-09 7:52 
GeneralRe: OT Pin
Dave Kreskowiak20-Jan-09 8:07
mveDave Kreskowiak20-Jan-09 8:07 
GeneralRe: OT Pin
Jon_Boy20-Jan-09 8:25
Jon_Boy20-Jan-09 8:25 
GeneralRe: OT Pin
EliottA20-Jan-09 8:25
EliottA20-Jan-09 8:25 
QuestionVBA question (not .net) Pin
EliottA19-Jan-09 9:51
EliottA19-Jan-09 9:51 
AnswerRe: VBA question (not .net) Pin
ChandraRam19-Jan-09 21:30
ChandraRam19-Jan-09 21:30 
GeneralRe: VBA question (not .net) Pin
EliottA20-Jan-09 3:08
EliottA20-Jan-09 3:08 
GeneralRe: VBA question (not .net) Pin
ChandraRam20-Jan-09 6:40
ChandraRam20-Jan-09 6:40 
EliottA wrote:
Set UnEditedWeeks = Worksheets(CStr(NodeSheet)).Range(AddressLocation)


IIRC, this should be

Set UnEditedWeeks = Worksheets(NodeSheet).Range(AddressLocation)<br />


The parameter is either the Worksheet name (as a string) or a number (starting with 1). Since you are using CStr, I presume NodeSheet is a numeric variable. If, for example, NodeSheet is 2, Unless you have a sheet named "2" in the workbook, this will give an error.

Also, from your code, I do not get an idea of what error you get, and how you tried to
EliottA wrote:
create a new range of the difference of these two ranges.

GeneralRe: VBA question (not .net) Pin
EliottA20-Jan-09 6:44
EliottA20-Jan-09 6:44 
GeneralRe: VBA question (not .net) Pin
ChandraRam20-Jan-09 7:04
ChandraRam20-Jan-09 7:04 
GeneralRe: VBA question (not .net) Pin
EliottA20-Jan-09 7:06
EliottA20-Jan-09 7:06 
GeneralRe: VBA question (not .net) Pin
ChandraRam20-Jan-09 7:43
ChandraRam20-Jan-09 7:43 
QuestionCreating PDFs from Excel XML files Pin
Dominick Marciano19-Jan-09 9:47
professionalDominick Marciano19-Jan-09 9:47 
AnswerRe: Creating PDFs from Excel XML files Pin
Steven J Jowett19-Jan-09 22:29
Steven J Jowett19-Jan-09 22:29 
GeneralRe: Creating PDFs from Excel XML files Pin
Dominick Marciano21-Jan-09 7:24
professionalDominick Marciano21-Jan-09 7:24 
QuestionvbSendMail does not send email Pin
tatchung18-Jan-09 20:57
tatchung18-Jan-09 20:57 
AnswerRe: vbSendMail does not send email Pin
EliottA19-Jan-09 2:47
EliottA19-Jan-09 2:47 
AnswerRe: vbSendMail does not send email Pin
Mr Oizo19-Jan-09 2:49
Mr Oizo19-Jan-09 2:49 
GeneralRe: vbSendMail does not send email Pin
Eddy Vluggen19-Jan-09 3:29
professionalEddy Vluggen19-Jan-09 3:29 
Question[Message Deleted] Pin
moonshaddow18-Jan-09 19:39
moonshaddow18-Jan-09 19:39 
AnswerRe: vb.net compact framework, windows mobile Pin
Mycroft Holmes18-Jan-09 20:57
professionalMycroft Holmes18-Jan-09 20:57 
QuestionBuild multiple Exes with one Exe Pin
pavanip18-Jan-09 18:29
pavanip18-Jan-09 18:29 
AnswerRe: Build multiple Exes with one Exe Pin
Mycroft Holmes18-Jan-09 21:01
professionalMycroft Holmes18-Jan-09 21:01 
GeneralRe: Build multiple Exes with one Exe Pin
pavanip18-Jan-09 21:14
pavanip18-Jan-09 21:14 
GeneralRe: Build multiple Exes with one Exe Pin
pavanip19-Jan-09 17:50
pavanip19-Jan-09 17:50 

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.