Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Input Dialog Box - change cell data

I have a macro that fills in a template that is updated each month.

The template has all the formatting, the macro will fill in the template
each month with data. After this is done, I'd like the user to change Range
"A4" and the footer to February 2007 etc. each month via an input dialog box
or list box.

Can anyone help me. I've started with .AddItem for each month to start a
list box. But I'm stuck on how to proceed. Any help will be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Input Dialog Box - change cell data

I solved my problem.

Dim MonthYear As String, Title As String
Dim ChangeMonth As Variant
MonthYear = "Enter the Month and Year of this Report"
Title = "Update Month"
ChangeMonth = Application.InputBox(MonthYear, Title)
Worksheets("Detail").Range("A4").Value = ChangeMonth
Worksheets("Summary").Range("A4").Value = ChangeMonth

"MacroLearning" wrote:

I have a macro that fills in a template that is updated each month.

The template has all the formatting, the macro will fill in the template
each month with data. After this is done, I'd like the user to change Range
"A4" and the footer to February 2007 etc. each month via an input dialog box
or list box.

Can anyone help me. I've started with .AddItem for each month to start a
list box. But I'm stuck on how to proceed. Any help will be appreciated.

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
How do I change a pop-up dialog box in an Excel cell? Not comment Brenda Excel Discussion (Misc queries) 1 March 7th 10 07:00 PM
dialog box to input data? DanGSB Excel Worksheet Functions 0 September 13th 07 03:38 AM
cell input change dciufo Excel Discussion (Misc queries) 2 March 22nd 07 09:18 AM
How to permanently change Dialog Caption while in the Dialog MikeZz Excel Programming 2 July 11th 06 04:53 PM
How to permanently change Dialog Caption while in the Dialog MikeZz Excel Programming 0 July 11th 06 04:14 PM


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