Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default _< investigating the programing for 'combined cells' _<

_< investigating the programing for 'combined cells' _<

Example: (refer to help43.zip)
www.geocities.com/remember_it/help43.zip

'help43a.xls' and 'help43b.xls' contain similar vba.

Firstly,
(help43a.xls)
--enter "XS" into "size" in sheets("main")
--press "Find"
!err msg:「沒有設定物件變數或
With 區塊變數」
On running,
------------------------------------------------
Sub find()
....
"define rng = .AutoFilter.Range
Set rng = Sheets(sSheet(i)).AutoFilter.Range
....
End Sub
------------------------------------------------
'help43b.xls' is ok but NOT 'help43a.xls',
how come? (question 1)

The problem MAY arise from this:........s[1]
- help43a: names("size").RefersToRange = main!$E$6:$F$6;
- help43b: names("size").RefersToRange = main!$E$6
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secondly,
(help43a.xls)
--enter "XS" into "size" in sheets("main")
--'View'/'Intermediate Windows (ctrl + G)
--enter '?range("size").Text'
--press 'enter'
!outcome:'Null'

Why is the outcome 'Null' but not 'XL' ('XL' is entered into
range("size") !!) ? (question 2)

This problem MAY also arise from s[1].
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
Combined cells to a singel cell cwklep Excel Worksheet Functions 1 August 6th 09 12:07 PM
why does excel launch with combined cells? J. Harv Allen Excel Discussion (Misc queries) 2 November 16th 06 12:45 AM
Combined Cells slimjam Excel Worksheet Functions 2 October 13th 06 05:30 PM
Formatting combined Cells [email protected] Excel Worksheet Functions 1 April 5th 05 04:55 PM
Formatting Combined Cells RagDyer Excel Discussion (Misc queries) 5 March 29th 05 02:52 PM


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