LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Converting xlsx to xl

Good morning,

I'm hoping someone has already ran into this problem, and I'm sure it
will continue until more businesses switch over to 2007 excel xlsx.
Here's what I'm trying to do: I have a file that that I'm taking some
information from, copying it, starting a new workbook, pasting the
information, and then generating an e-mail. The problem is that even
if my original workbook was saved as a 97-2003 excel workbook, now
that I have 2007 installed, any new workbook automatically becomes an
xlsx. I would like to make this code still work but without having the
user have to do a "save as", change the file type, etc.

Any help would be appreciated.

Sheets("Log").Select
Range("A1").Select
ActiveSheet.UsedRange.Copy
Workbooks.Add
Selection.PasteSpecial Paste:=xlPasteColumnWidths,
Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
ActiveSheet.Paste
Range("A1").Select
Application.Dialogs(xlDialogSendMail).Show



Thank you,
Stephen
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting to xlsx error jon New Users to Excel 0 October 13th 09 07:42 PM
Problems converting from xlsx to xls Italian Cousin Excel Discussion (Misc queries) 0 August 7th 09 05:46 PM
Converting Files to xlsx Jeff Excel Discussion (Misc queries) 0 December 29th 08 08:49 PM
How do I set default Excel Saveas file format to xlsx not xlsx Greg Conway Setting up and Configuration of Excel 1 September 17th 08 04:19 PM
Converting from .xlsx to .xls ingulita Excel Discussion (Misc queries) 2 July 11th 07 03:26 AM


All times are GMT +1. The time now is 12:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"