Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default two easy questions take two

Sorry about that hit the enter button to fast
Question one
I have been trying to populate an array using the range method. Is that only good for Values?? Will it work with strings

Question Two
I am trying to save/Export an Excel workbook to HTML but I want to have it look like the web page preview (Office 2002). And I would like to do it programmatically. Does anybody have a good code for this

Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default two easy questions take two

1.
Sub test()
Dim arr() As Variant

arr = Range("a1:B10")
End Sub

2.
One cool thing about Excel is the macro recorder. Set that recording while
you perform the task manually. Once complete, stop the macro recorder and
take a look at what code it produced.

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


"brianelson" wrote in message
...
Sorry about that hit the enter button to fast.
Question one.
I have been trying to populate an array using the range method. Is that

only good for Values?? Will it work with strings?

Question Two.
I am trying to save/Export an Excel workbook to HTML but I want to have

it look like the web page preview (Office 2002). And I would like to do it
programmatically. Does anybody have a good code for this?

Thanks for any help



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
Dividing in excel easy questions HELP PLEASE HELP Excel Discussion (Misc queries) 3 November 9th 07 08:07 PM
Easy (?) questions for setting up a database roger_home Excel Discussion (Misc queries) 3 February 11th 06 05:47 PM
Couple of hopefully easy questions TeddyTash Excel Worksheet Functions 4 September 15th 05 10:55 AM
Two Easy questions BrianElson Excel Programming 0 February 29th 04 11:51 PM
Two really easy questions James[_9_] Excel Programming 3 July 16th 03 07:00 PM


All times are GMT +1. The time now is 05:38 PM.

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"