Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ijb ijb is offline
external usenet poster
 
Posts: 26
Default Macro Question

ActiveWorkbook.SaveAs Filename:="C:\" & Sheet1!Cells(1, 2) & "_" &
Sheet2!Cells(2, 1)

--
HTH

ijb

Remove nospam from my e-mail address to talk direct

Not MCSD just experienced

"dayton" wrote in message
...
I have a macro that takes a .csv file and puts certain date into specific
sheets.
Can I have the macro save and name the spreadsheet with the value of
specific cells?

Example:
Sheet1 Cell B2 = 802922
Sheet2 Cell A2 = 0589513

I want to save it with the name:
802922_0589513

with the underscore

T.I.A.
Dayton






Reply
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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
Macro question rmcove Excel Discussion (Misc queries) 5 March 5th 09 03:01 PM
Macro Question McCloudK Excel Discussion (Misc queries) 7 September 14th 07 09:41 PM
Macro Question Carl Excel Worksheet Functions 1 August 25th 06 07:40 PM
Macro Question Chris Excel Worksheet Functions 0 July 18th 05 04:02 PM


All times are GMT +1. The time now is 07:35 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"