LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Use VBA to fill in formulas in Cells

Selection.Formula = "=VLOOKUP(A1, $B$1:$C$1000, 2, FALSE)"

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"NetWave128" wrote in message
...

I have a userform that has a selection method... I would like to fill a
range of cells with a different formula depending on which cmd button
is pressed in the form.

The Formula is a lookup and it is the same it just refers to different
sheets based on the user input...

Thank You-


--
NetWave128
------------------------------------------------------------------------
NetWave128's Profile:
http://www.excelforum.com/member.php...fo&userid=2297
View this thread: http://www.excelforum.com/showthread...hreadid=274089



 
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
help Fill formulas, highlight cells to specified destination Dream Excel Discussion (Misc queries) 1 September 10th 09 03:10 PM
Some formulas don't track copies, pastes, fill right, fill down whiten Excel Discussion (Misc queries) 2 October 1st 06 04:41 PM
Fill down formulas in cells to the LEFT of external data range? tsobiech Excel Worksheet Functions 0 September 14th 06 03:57 PM
Fill formulas into adjacent cells does not take formula only data gnshort Excel Worksheet Functions 1 August 28th 06 11:41 PM
create a fill in template to tab to fill in cells Excel-erator Excel Discussion (Misc queries) 2 July 6th 05 09:57 PM


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