Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA help with Query

I'm working in a pretty indepth macro. I was wondering two things:

#1.) I use a query in one sheet to get shipping data for the recentl
billed period by shipment numbers. I can figure the minimum an
maximum shipment numbers I should search for but I haven't figured ou
the way to get those values into the "Enter Parameter Value" inpu
boxes of the query. Is there a way to do this with VBA?

#2.) Once the query from part #1 has finished then the macro does
paste special of the data into the master sheet. Where I get th
"Number Stored as Text" exclamation point. Is there a way to get VB
to trigger "Convert to Number" function of the "Number Stored as Test
warning?

After this the macro still has a lot of processing to do, so automatin
this is very important to this working properly.

I have tried recording both processes but the macro recorder does no
seem to cover these. Any help would be great appreciated :)

Thank you,
Jorda

--
Message posted from http://www.ExcelForum.com

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
Convert hard coded query criteria to Parameter Query Melanie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 09:59 PM
Excel 2007 / MS Query - editing existing query to another sheet Hotpepperz Excel Discussion (Misc queries) 0 June 13th 08 06:53 PM
Save data retreived from query without saving query Anthony Excel Discussion (Misc queries) 0 January 25th 06 07:17 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
Microsoft Query rejects "nz" function in Access Query Vaughan Excel Discussion (Misc queries) 0 May 4th 05 05:20 PM


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