Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Import Macro

difficult to tell withou seeing the code that does the importing. I suspect
its probably deleting the entire named range. Easiest solution would be to
add a few lines of code to rename those ranges..
example

worksheets("Import").Range("A1010:A1219").Name = "Name1"


"cranen" wrote:

I have a macro that imports data, deletes blank rows and deletes rows that
meet certain conditions, and it concatenates rows based on criteria. I
import this data because the data is updated on a server every 2-3 months.
My calculations on a different sheet are dependent on the imported data where
the ranges are named and used in the calculations. Why is it that when the
macro imports the data and formats it that the name references are destroyed.
For example, in the name manager Name1 refers to =IMPORT!$A$1010:$A$1219.
I would think that the references would stay the same. They have dollar
signs. Any suggestions?

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
Import Macro in PERSONAL.XLS will not import to my main document mike Excel Programming 8 October 31st 07 09:24 PM
Import macro [email protected] Excel Programming 1 June 6th 06 08:29 AM
Import From with macro Chad Excel Programming 4 August 25th 05 08:13 PM
Import macro from another workbook by macro Ivica Excel Programming 1 May 4th 05 12:26 PM
Import and run Macro Steph[_3_] Excel Programming 3 September 28th 04 09:33 PM


All times are GMT +1. The time now is 05:49 AM.

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

About Us

"It's about Microsoft Excel"