LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Queries in Macros

I have a macro which works perfectly. However, three lines of the macro
have to be changed to reflect the specifics of each file I'm working on.
Is there a way to run the macro and have it pause at each of the three
lines allowing me to input information. The three lines a
Set ws1 = Sheets("Sheet1") '<<< Change
Set rng = ws1.Range("A1:D45")
FieldNum = 1

Thanks!!

--
Message posted using http://www.talkaboutsoftware.com/gro...eet.functions/
More information at http://www.talkaboutsoftware.com/faq.html


 
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
Web Queries Stonewall Excel Discussion (Misc queries) 4 July 23rd 07 03:35 PM
web queries... Dave F Excel Discussion (Misc queries) 2 August 25th 06 02:15 AM
Web Queries Gary Smith Excel Discussion (Misc queries) 0 September 14th 05 07:58 PM
Queries Bean123r Excel Discussion (Misc queries) 0 June 17th 05 12:15 AM
HOW DO I TRANSFER EXCEL SPREADSHEETS WITH QUERIES AND MACROS? Peachtree Help Excel Discussion (Misc queries) 1 March 20th 05 06:45 AM


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