Click here to Skip to main content
16,006,341 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: CREATE DATABASE parameter for FROM master..sysdatabases Pin
Dave Kreskowiak13-May-10 8:44
mveDave Kreskowiak13-May-10 8:44 
GeneralRe: CREATE DATABASE parameter for FROM master..sysdatabases Pin
luccingolo14-May-10 6:09
luccingolo14-May-10 6:09 
GeneralRe: CREATE DATABASE parameter for FROM master..sysdatabases Pin
Dave Kreskowiak14-May-10 7:48
mveDave Kreskowiak14-May-10 7:48 
GeneralRe: CREATE DATABASE parameter for FROM master..sysdatabases Pin
luccingolo14-May-10 21:26
luccingolo14-May-10 21:26 
QuestionHow to add a new contect menu in CD drive's popup menu? Pin
phowarso13-May-10 3:41
phowarso13-May-10 3:41 
QuestionHow to add a new popup menu in CD drive's popup menu? Pin
phowarso13-May-10 3:00
phowarso13-May-10 3:00 
AnswerRe: How to add a new popup menu in CD drive's popup menu? Pin
DaveAuld13-May-10 5:07
professionalDaveAuld13-May-10 5:07 
QuestionSave Excel Pin
MsmVc12-May-10 23:18
MsmVc12-May-10 23:18 
Hi all

I am trying to save excel through this code.
Dim sPath As String 
    Dim stPath As String 
    Dim strPath As String 
    Dim ws As  Worksheet 
     
    Set ws = ActiveSheet 
     
    sPath =  ThisWorkbook.Path & "\" 
    stPath = Replace(ws.Range("A1"), "-", "") 
    strPath = sPath & Replace(stPath, ":", "-") & ".xls" 
    Call ThisWorkbook.SaveCopyAs(strPath) 


But i am getting run time error.
Run-time '1004'
Method 'ThisWorkbook' of object _Global failed


Please help me.
AnswerRe: Save Excel Pin
EliottA13-May-10 4:25
EliottA13-May-10 4:25 
AnswerRe: Save Excel Pin
The Man from U.N.C.L.E.13-May-10 6:48
The Man from U.N.C.L.E.13-May-10 6:48 
JokeRe: Save Excel Pin
Trevortni13-May-10 8:46
Trevortni13-May-10 8:46 
JokeRe: Save Excel Pin
Johnny J.13-May-10 21:54
professionalJohnny J.13-May-10 21:54 
Questionhow to insert jpegs into powerpoint via vb.net Pin
b-rad31112-May-10 5:39
b-rad31112-May-10 5:39 
AnswerRe: how to insert jpegs into powerpoint via vb.net Pin
Kschuler12-May-10 10:25
Kschuler12-May-10 10:25 
GeneralRe: how to insert jpegs into powerpoint via vb.net Pin
b-rad31112-May-10 10:27
b-rad31112-May-10 10:27 
Questionhow to save clipboard image as picture using vb.net Pin
b-rad31112-May-10 5:17
b-rad31112-May-10 5:17 
AnswerRe: how to save clipboard image as picture using vb.net Pin
Luc Pattyn12-May-10 5:32
sitebuilderLuc Pattyn12-May-10 5:32 
GeneralRe: how to save clipboard image as picture using vb.net Pin
b-rad31112-May-10 5:34
b-rad31112-May-10 5:34 
GeneralRe: how to save clipboard image as picture using vb.net Pin
Luc Pattyn12-May-10 5:39
sitebuilderLuc Pattyn12-May-10 5:39 
GeneralRe: how to save clipboard image as picture using vb.net Pin
b-rad31112-May-10 5:41
b-rad31112-May-10 5:41 
QuestionWise InstallMaster to create setup file Pin
Andraw Tang12-May-10 5:03
Andraw Tang12-May-10 5:03 
AnswerRe: Wise InstallMaster to create setup file Pin
Dave Kreskowiak12-May-10 5:25
mveDave Kreskowiak12-May-10 5:25 
GeneralRe: Wise InstallMaster to create setup file Pin
Andraw Tang12-May-10 5:31
Andraw Tang12-May-10 5:31 
QuestionExcel open Pin
MsmVc12-May-10 2:41
MsmVc12-May-10 2:41 
AnswerRe: Excel open Pin
EliottA12-May-10 2:50
EliottA12-May-10 2: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.