Click here to Skip to main content
16,010,673 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionIs there any way to access information (MS Access database) in the Web-Host? Pin
ATC13-Aug-08 8:45
ATC13-Aug-08 8:45 
AnswerRe: Is there any way to access information (MS Access database) in the Web-Host? Pin
nlarson1113-Aug-08 10:36
nlarson1113-Aug-08 10:36 
GeneralRe: Is there any way to access information (MS Access database) in the Web-Host? Pin
ATC13-Aug-08 15:48
ATC13-Aug-08 15:48 
QuestionHow do I Pin
Matthew Leggett13-Aug-08 5:43
Matthew Leggett13-Aug-08 5:43 
QuestionRe: How do I Pin
Steven J Jowett13-Aug-08 6:03
Steven J Jowett13-Aug-08 6:03 
AnswerRe: How do I Pin
Matthew Leggett13-Aug-08 13:33
Matthew Leggett13-Aug-08 13:33 
GeneralRe: How do I Pin
ChandraRam13-Aug-08 20:51
ChandraRam13-Aug-08 20:51 
AnswerRe: How do I Pin
Dalek Dave14-Aug-08 5:57
professionalDalek Dave14-Aug-08 5:57 
I used somethng like this recently.

In my case I wanted a new sheet consisting only of data of a particular Suppliers account.
But you can see the basis of it and adapt as per necessary.

'request supplier
Dim RequestedSupplier As String
RequestedSupplier = Application.InputBox("Enter Supplier Code", "Supplier Selection", , , , , , 2)
    If RequestedSupplier = "" Then End
    
'UPPER CASE the RESULT
RequestedSupplier = UCase(RequestedSupplier)
'confirm supplier
MsgBox ("You have Selected : " & RequestedSupplier)
'create page
    'creates ActNm - Active Sheet name
    Dim ActNm As String
    With ActiveWorkbook.Sheets
    .Add after:=Worksheets(Worksheets.Count)
    End With
    ActNm = ActiveSheet.Name
    On Error Resume Next
    ActiveSheet.Name = RequestedSupplier
NoName: If Err.Number = 1004 Then ActiveSheet.Name = InputBox("Enter name for New Sheet")
    If ActiveSheet.Name = ActNm Then GoTo NoName
    On Error GoTo 0


Hope this helps

------------------------------------
"I'd rather have a bottle in front of me than a frontal lobotomy" - Bob Monkhouse

QuestionRe: How do I Pin
Deeprj7717-Aug-08 23:56
Deeprj7717-Aug-08 23:56 
QuestionUserControl with DataGridView used e.g. in a form: How to add columns in the designer? Pin
mp000113-Aug-08 1:55
mp000113-Aug-08 1:55 
QuestionA simple Function Call? Pin
Juliaan Evenwel13-Aug-08 1:07
Juliaan Evenwel13-Aug-08 1:07 
AnswerRe: A simple Function Call? Pin
Christian Graus13-Aug-08 1:31
protectorChristian Graus13-Aug-08 1:31 
GeneralRe: A simple Function Call? Pin
Juliaan Evenwel13-Aug-08 1:32
Juliaan Evenwel13-Aug-08 1:32 
GeneralRe: A simple Function Call? Pin
Christian Graus13-Aug-08 2:39
protectorChristian Graus13-Aug-08 2:39 
GeneralRe: A simple Function Call? Pin
Juliaan Evenwel13-Aug-08 2:50
Juliaan Evenwel13-Aug-08 2:50 
GeneralRe: A simple Function Call? Pin
Manas Bhardwaj13-Aug-08 2:59
professionalManas Bhardwaj13-Aug-08 2:59 
Questionimpliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 1:06
S.Aijaz13-Aug-08 1:06 
AnswerRe: impliment opening of file in window downloaded from server Pin
Ashfield13-Aug-08 2:13
Ashfield13-Aug-08 2:13 
GeneralRe: impliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 2:23
S.Aijaz13-Aug-08 2:23 
GeneralRe: impliment opening of file in window downloaded from server Pin
Ashfield13-Aug-08 3:11
Ashfield13-Aug-08 3:11 
GeneralRe: impliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 18:00
S.Aijaz13-Aug-08 18:00 
GeneralRe: impliment opening of file in window downloaded from server Pin
rprateek13-Aug-08 18:46
rprateek13-Aug-08 18:46 
GeneralRe: impliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 19:04
S.Aijaz13-Aug-08 19:04 
QuestionMultiple Socket Connection Pin
MatthysDT12-Aug-08 23:31
MatthysDT12-Aug-08 23:31 
AnswerRe: Multiple Socket Connection Pin
Oktay113-Aug-08 0:12
Oktay113-Aug-08 0:12 

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.