Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to save the workbook1 from workbook2

Hi
In my VBA application (Excelapplet.xls)i have a hidden sheet where
store some operation done throught the files i access fro
Excelapplet.xls.

I have common dialog control where we can open other XLS file fo
example "testing.xls" through "Excelapplet.xls"

I do some operation in this and when i save the current workboo
through VBA code Testing.xls alone is saved but the hidden sheet in th
Excelapplet.xls is not saved. How to acheived this


activeworkbook.save

is not working ..can you suggest some other method to do this

Thanks in advance

Venkatesh

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default How to save the workbook1 from workbook2

activeworkbook.save is not working

If you want to save a workbook that is not active you should save it by
name:

Workbooks("Excelapplet.xls").Save

--
Jim Rech
Excel MVP
"kvenku " wrote in message
...
| Hi
| In my VBA application (Excelapplet.xls)i have a hidden sheet where i
| store some operation done throught the files i access from
| Excelapplet.xls.
|
| I have common dialog control where we can open other XLS file for
| example "testing.xls" through "Excelapplet.xls"
|
| I do some operation in this and when i save the current workbook
| through VBA code Testing.xls alone is saved but the hidden sheet in the
| Excelapplet.xls is not saved. How to acheived this
|
|
| activeworkbook.save
|
| is not working ..can you suggest some other method to do this
|
| Thanks in advance
|
| Venkatesh.
|
|
| ---
| Message posted from http://www.ExcelForum.com/
|


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
Extracting data from workbook1 to workbook2 [email protected] Excel Worksheet Functions 1 March 5th 07 04:42 PM
Copying Selected Rows From Workbook1 to WorkBook2 [email protected] Excel Discussion (Misc queries) 0 October 10th 06 11:27 PM
Copying Selected Rows From Workbook1 to WorkBook2 [email protected] Excel Discussion (Misc queries) 0 October 10th 06 11:24 PM
workbook1 data to workbook2 data raisin Excel Worksheet Functions 1 February 1st 06 02:18 PM
autom update cells from Workbook1 to Workbook2 Bruno01 Excel Discussion (Misc queries) 0 January 28th 05 11:17 AM


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