Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 209
Default Copy sheet to sheet based on examples from ron

Hi!!
I use this based from examples from ron.
GetData "c:\city breaks\priser\usa\fil.xls", "Fil", "A1:A2",
Sheets("Fil").Range("A1"), True
its works allright
but now i would like to make it so i can use a
value from a sheet to change the map name
Like this
GetData "c:\city breaks\priser\usa\"& priskalk!$A$1&"\fil.xls", "Fil",
"A1:A2", Sheets("Fil").Range("A1"), True
But it dosn't work with "& priskalk!$A$1&" i get an error here.
CAn someone help me please.

Best Regards Alvin


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 209
Default Copy sheet to sheet based on examples from ron

Hi!!
i have found out how
Alvin


"Alvin Hansen" skrev:

Hi!!
I use this based from examples from ron.
GetData "c:\city breaks\priser\usa\fil.xls", "Fil", "A1:A2",
Sheets("Fil").Range("A1"), True
its works allright
but now i would like to make it so i can use a
value from a sheet to change the map name
Like this
GetData "c:\city breaks\priser\usa\"& priskalk!$A$1&"\fil.xls", "Fil",
"A1:A2", Sheets("Fil").Range("A1"), True
But it dosn't work with "& priskalk!$A$1&" i get an error here.
CAn someone help me please.

Best Regards Alvin


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
copy rows from one Data sheet to another sheet based on cell conte John McKeon Excel Discussion (Misc queries) 2 May 15th 10 06:49 AM
Copy from one Sheet and paste on another sheet based on condition Prem Excel Discussion (Misc queries) 2 December 24th 07 05:05 AM
Search for rows in one sheet and copy into another sheet based on customer id [email protected] Excel Worksheet Functions 1 October 22nd 07 03:09 AM
Copy certain cells in a row to another sheet, based on certain val AM Excel Worksheet Functions 2 August 25th 07 04:38 AM
Copy an additional row based on another sheet Mindie Excel Discussion (Misc queries) 5 October 19th 05 02:47 AM


All times are GMT +1. The time now is 08:43 AM.

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"