Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Remove File import using VBA

How can I use VBA to remove the automatic file import? I have a process
where a .txt file is automatically imported on file open but when I'm ready
to send this file out to others, I dont want the excel file to try to update
that file on open when someone else opens the file.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Remove File import using VBA

It is easy to create a new workbook without macros. If you right click on
the tab name like sheet1 and select copy or move. then select copy and in
the pulldown slelect new wrokbook.

From VBA all you have to do is copy the worksheet without an after/before

Sheets("Sheet1").Copy




"Greg H." wrote:

How can I use VBA to remove the automatic file import? I have a process
where a .txt file is automatically imported on file open but when I'm ready
to send this file out to others, I dont want the excel file to try to update
that file on open when someone else opens the file.

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
Remove MSN MoneyCentral .iqy files w/o losing data import DLS Excel Worksheet Functions 0 June 18th 09 04:42 PM
Coding to remove and import Module [email protected] Excel Programming 2 September 17th 07 10:21 PM
Annoying automatic date-formatting on import... how to remove it? Jose McNach Excel Discussion (Misc queries) 2 June 2nd 06 02:40 PM
Remove and Import Module Richard Excel Programming 1 September 2nd 05 09:18 AM
How do I import text file, analyze data, export results, open next file Geoffro Excel Programming 2 March 6th 05 08:02 PM


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