LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default using a macro to move a function into excel cell

Hi

Double all single " so they read "" and it should work.

HTH. Best wishes Harald

"Deb" skrev i melding
...
The function works in Excel. But, when VB encounters the first quote, it

thinks the rest is a comment. I renamed the spreadsheets to have a
one-level name so that I could remove the single quotes, but it still didn't
work. Help!!

Worksheets("Reformatted Data").Range("D1").Formula =

"=INDEX(INDIRECT("'Downloaded Data'!$A$1:$H$"&'Start
Here'!$E$11),MATCH(I3,INDIRECT("'Downloaded Data'!$I$1:$I$"&'Start
Here'!$E$11),0),4)"


 
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
macro to move to another cell Frappier New Users to Excel 8 November 11th 08 02:06 PM
Macro to move one cell down tjb Excel Worksheet Functions 13 April 22nd 08 09:52 PM
Function to move to a given cell Victor Delta Excel Worksheet Functions 0 February 20th 07 11:20 PM
How to write macro to move object via if function Ged Excel Discussion (Misc queries) 4 February 20th 06 12:34 AM
Macro to move to next cell Neil[_12_] Excel Programming 2 August 2nd 03 09:45 PM


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