LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #21   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Newbie attempting VBA Scripting

I think i figured it out. The With function is not enough for the Set
function to use the sheet specified by the With function. I.E., if i
include the line:

Sheets("Premiums Commissions").Select

before the "Set BU = Rows(1)..." then it works like a charm. I guess
it only works on the ActiveSheet?

 
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
Attempting to weight japc90 Excel Discussion (Misc queries) 2 July 28th 08 11:58 AM
Attempting to use VBA to Ping within Excel... Andy Dawkins Excel Programming 6 October 22nd 07 08:42 PM
Attempting to reduce userforms VB Newbie[_2_] Excel Programming 9 November 30th 05 01:45 AM
Attempting Excel Template jlr New Users to Excel 3 May 15th 05 09:45 PM
Newbie VBE scripting question jeff Excel Programming 1 December 20th 04 09:28 PM


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