Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 30th, 2013, 06:41 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Save as.csv ( the macro- it doesnt run)

hi people,

my macro to save each sheet (50sheets) of the excelfile as a csv file. Each sheet has a name which i want the macro to use to name the csv file. It doesnt run (it would be a wonder if it did, so seeking your help to put it on track)

HTML Code:
Application.Sheets(c:\M-C\Hist\ronnie30.xlsx).Select
     Application.Sheets(Sheet_Name)
Application.DisplayAlerts = False 
ActiveWorkbook.SaveAs Filename:=filename(sheetname1-50), FileFormat:=xlCSV, _
     CreateBackup:=False
     CreateBackup:=False
    Application.DisplayAlerts = False
    
repeat every 60 min
Reply With Quote
  #2 (permalink)  
Old July 31st, 2013, 01:28 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello there,
Ok you folks probably were too busy to tackle the above macro. No matter. Anyway thats been resolved.

May i request for your time and knowledge in editting this small macro ? would be immensely grateful.

this macro does the following

insert row 2 in sheet 2 (only on sheet two , ie not on all sheets of the workbook)
copy paste row 1 onto row 2 of sheet two
(repeat every 75 minutes. It doesnt open, save or close the workbook)


HTML Code:
Sub insert_row()
Selection.Insert Shift:=xlDown
Copy ([row1])
Paste ([row2])
End Sub

but after pasting cell1 the macro gives a 400 error.

can u kindly help with the macro

thanks in advance
Reply With Quote
  #3 (permalink)  
Old August 1st, 2013, 05:49 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

Brother,

Yo man. Nobody have the time to edit the small macro. Thats sad, man.

request someone to put that dashed macro thingy on tracks

thanks bro
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
go-pear.bat doesnt run. help. ZanderFly BOOK: Beginning PHP 5.3 0 August 15th, 2011 11:09 AM
save .csv with newline character sansircar ASP.NET 1.0 and 1.1 Professional 1 November 19th, 2008 03:50 AM
.aspx.vb file doesnt run arabuafef ASP.NET 2.0 Professional 7 March 18th, 2008 12:20 PM
Save a file in CSV format thru Excel VBA macro roli2712 Excel VBA 1 July 11th, 2007 03:05 AM
save as CSV file cdsniti Java Databases 1 December 21st, 2005 07:26 AM



All times are GMT -4. The time now is 06:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.